[THIN] Re: User Shell Folders in Win2k Terminal Server

  • From: "Greg Reese" <GReese@xxxxxxxxxxxxxxxx>
  • To: <thin@xxxxxxxxxxxxx>
  • Date: Thu, 27 Jun 2002 16:50:24 -0400

that was it! It worked.  Thank you very much.  I knew it had to be something 
simple.  That's even in Jim's faqs.  

I feel like such an idiot...(I know if the shoe fits)

Greg

-----Original Message-----
From: Nishimura, Scott [mailto:Scott.Nishimura@xxxxxxx]
Sent: Thursday, June 27, 2002 4:41 PM
To: thin@xxxxxxxxxxxxx
Subject: [THIN] Re: User Shell Folders in Win2k Terminal Server


Greg,

   The behavior you describe sounds like what happens when
one modifies the "Shell Folders" key instead of the "User
Shell Folders" because "User Shell Folders" overwrites
the contents of "Shell Folders".

Another reason I say that is that you said that the settings
were being reset to "C:\Documents and Settings\..." which 
is NOT what typically appears in "User Shell Folders".  
Typically, "User Shell Folders" will read

Cookies %userprofile%\cookies

and "Shell Folders" will read

Cookies C:\documents and settings\username\cookies

Could you double-check that?

As admin, I modified User Shell Folders and then launched
IE and the value stuck.


Scott

-----Original Message-----
From: Greg Reese [mailto:GReese@xxxxxxxxxxxxxxxx]
Sent: Thursday, June 27, 2002 1:30 PM
To: thin@xxxxxxxxxxxxx
Subject: [THIN] Re: User Shell Folders in Win2k Terminal Server


at this point all i am doing is logging in as the user and modifying 
HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\UserShellFolders 
directly.

After I change it, I open IE and then when I look in the registry afterward, it 
is changed back.  I also tried modifying the HKUSERS key while I was logged in 
as admin and that user was logged in remotely (this is not a production server 
yet) and the same thing happens.

-----Original Message-----
From: Nishimura, Scott [mailto:Scott.Nishimura@xxxxxxx]
Sent: Thursday, June 27, 2002 3:53 PM
To: thin@xxxxxxxxxxxxx
Subject: [THIN] Re: User Shell Folders in Win2k Terminal Server


Post your scripts so we can see exactly what you're doing.

-----Original Message-----
From: Greg Reese [mailto:GReese@xxxxxxxxxxxxxxxx]
Sent: Thursday, June 27, 2002 11:29 AM
To: thin@xxxxxxxxxxxxx
Subject: [THIN] Re: User Shell Folders in Win2k Terminal Server


I think I found my problem.  I have been pulling my hair out all day.  It's 
still broken , but at least now I know why.

I have been trying to adjust the User Shell folders fro Cookies and Favorites.  
I want them to point to H:\Cookies and H:\Favorites.  I run mandatory profiles 
and that is an easy way for my users to keep some sanity.

When I adjust the registry keys, Internet Explorer re-writes them back to 
C:\Documents and Settings\etc" the next time it is started.  

Does nay one know a better way to adjust this setting?  The tn.adm did it 
perfectly in NT4.

Greg

-----Original Message-----
From: Nishimura, Scott [mailto:Scott.Nishimura@xxxxxxx]
Sent: Thursday, June 27, 2002 1:04 PM
To: thin@xxxxxxxxxxxxx
Subject: [THIN] Re: User Shell Folders in Win2k Terminal Server


I suppose you could load the "Default User" hive and modify the shell folders 
stuff there.  However, I don't think that change will propagate to existing 
users, only to new users.  Is this different with mandatory profiles?  I have 
no experience with them.


Scott

-----Original Message-----
From: Greg Reese [mailto:GReese@xxxxxxxxxxxxxxxx]
Sent: Thursday, June 27, 2002 9:55 AM
To: thin@xxxxxxxxxxxxx
Subject: [THIN] Re: User Shell Folders in Win2k Terminal Server


is it possible to just edit the NTUSER.dat file?  All I am trying to do is 
tweak the template user for mandatory profiles.

Greg

-----Original Message-----
From: Nishimura, Scott [mailto:Scott.Nishimura@xxxxxxx]
Sent: Thursday, June 27, 2002 12:02 PM
To: thin@xxxxxxxxxxxxx
Subject: [THIN] Re: User Shell Folders in Win2k Terminal Server


Greg,

   Here's an example from a similar question asked yesterday about distributing 
changes to every user:

-----------------------------------------

Here's one way [using regini]; this will run when any
user logs in.

- Insert a call statement into UsrLogn2.cmd [in %systemroot%\system32]

Call "C:\winnt\application compatibility scripts\logon\myscript.cmd"

- Inside the script, make a call to import the registry info:

regini "C:\WINNT\Application Compatibility 
Scripts\Logon\Template\myregistryhack.key" 1>Nul:

- Inside the .key file, make your change:

HKEY_CURRENT_USER\software\microsoft\office\9.0\outlook\security
   OutlookSecureTempFolder = REG_EXPAND_SZ %homedrive%

For a good article, see

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnw2kmag01/html/DistributingRegistryChanges.asp

Let me know if you have any questions.


Scott

-----Original Message-----
From: Greg Reese [mailto:GReese@xxxxxxxxxxxxxxxx]
Sent: Thursday, June 27, 2002 8:56 AM
To: thin@xxxxxxxxxxxxx
Subject: [THIN] Re: User Shell Folders in Win2k Terminal Server


that makes sense but I have no idea how to do it.  How do I create a file and 
how do I import it with regedit and call it form usrlogn2?

Greg

-----Original Message-----
From: Nishimura, Scott [mailto:Scott.Nishimura@xxxxxxx]
Sent: Thursday, June 27, 2002 11:41 AM
To: thin@xxxxxxxxxxxxx
Subject: [THIN] Re: User Shell Folders in Win2k Terminal Server


You could create file with the desired settings and import it with regedit or 
regini [the formats differ slightly] and call it from part of UsrLogn2.cmd.


Scott

-----Original Message-----
From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx]
Sent: Thursday, June 27, 2002 5:16 AM
To: thin@xxxxxxxxxxxxx
Subject: [THIN] User Shell Folders in Win2k Terminal Server


I used the tn.adm policy from the thinnet to set the user shell folders via 
policy for my users.

In Windows 2000 the GPO will not let me use that ADM file.  Does anyone know of 
another way I can set that value?  Is there a way to make my own GPO templates?

I am also trying to find a way to put the "NT Security" icon back in the start 
menu.  It seems to have been moved to the Settings folder.

I have no problem doing it with a registry trick at logon but I don't have a 
clue where to begin.

Thanks!

Greg



==========================
This Weeks Sponsor
New Moon Canaveral iQ
New Moon makes central deployment and 
management of server-based applications simple!
Now intelligent Printing with UniDriver!
See a demo at: http://www.newmoon.com/products/demo/



==========================
This Weeks Sponsor
New Moon Canaveral iQ
New Moon makes central deployment and 
management of server-based applications simple!
Now intelligent Printing with UniDriver!
See a demo at: http://www.newmoon.com/products/demo/




==========================
This Weeks Sponsor
New Moon Canaveral iQ
New Moon makes central deployment and 
management of server-based applications simple!
Now intelligent Printing with UniDriver!
See a demo at: http://www.newmoon.com/products/demo/



==========================
This Weeks Sponsor
New Moon Canaveral iQ
New Moon makes central deployment and 
management of server-based applications simple!
Now intelligent Printing with UniDriver!
See a demo at: http://www.newmoon.com/products/demo/




==========================
This Weeks Sponsor
New Moon Canaveral iQ
New Moon makes central deployment and 
management of server-based applications simple!
Now intelligent Printing with UniDriver!
See a demo at: http://www.newmoon.com/products/demo/



==========================
This Weeks Sponsor
New Moon Canaveral iQ
New Moon makes central deployment and 
management of server-based applications simple!
Now intelligent Printing with UniDriver!
See a demo at: http://www.newmoon.com/products/demo/




==========================
This Weeks Sponsor
New Moon Canaveral iQ
New Moon makes central deployment and 
management of server-based applications simple!
Now intelligent Printing with UniDriver!
See a demo at: http://www.newmoon.com/products/demo/



==========================
This Weeks Sponsor
New Moon Canaveral iQ
New Moon makes central deployment and 
management of server-based applications simple!
Now intelligent Printing with UniDriver!
See a demo at: http://www.newmoon.com/products/demo/




==========================
This Weeks Sponsor
New Moon Canaveral iQ
New Moon makes central deployment and 
management of server-based applications simple!
Now intelligent Printing with UniDriver!
See a demo at: http://www.newmoon.com/products/demo/



==========================
This Weeks Sponsor
New Moon Canaveral iQ
New Moon makes central deployment and 
management of server-based applications simple!
Now intelligent Printing with UniDriver!
See a demo at: http://www.newmoon.com/products/demo/




==========================
This Weeks Sponsor
New Moon Canaveral iQ
New Moon makes central deployment and 
management of server-based applications simple!
Now intelligent Printing with UniDriver!
See a demo at: http://www.newmoon.com/products/demo/

Other related posts: