I've got half the answer....

  • Thread starter Thread starter Bub
  • Start date Start date
B

Bub

....now I just need the other half.

NT 4.0 domain. XP w/s.

In the userprofile I'm setting it to map H: to
\\server\share\<user_folder>

Now I want everyone who logs on to all the XP machines,
whether or not they have a profile or not, to have the My
Documents folder map to H:.

I can't seem to find anywhere in HKEY_LOCAL_MACHINE to set
a Personal or MyDocuments variable on a global scale. I
suspect I could do this with AD and GPO's, but we don't
have AD here.

Is there some kind of login script (yeck) that I could
execute to do this?

Thanks,

Mike
 
This trick is useful for lots of tasks.

I once used it to uninstall Hotbar from a user's PC every
time she logged on. She kept installing it and it kept
vanishing. She eventually gave up! Nobody could get
Hotbar to stay installed, no matter who logged on.
Very few laughs in this job, but I laughed a lot about
this one!
-----Original Message-----
Thanks, I'll try that out!!!
-----Original Message-----
1) Create a batch file named MyDocs.bat
For example, distribute it to all clients in C:\WINDOWS\
Contents of MyDocs.bat:
net use H: \\server\share\%username%
regedit /s MyDoc.reg

2) Create a REG file named MyDocs.reg
For example, distribute it to all clients in C:\WINDOWS\
Contents:
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersi
o
n\Explorer\Shell Folders]
"Personal"="H:\\"
rem H: is already mapped into \%username%

3) Make a sting value (REG_SZ) entry in
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVers
i
on\Run]
"MyDocs"="C:\\WINDOWS\\MyDocs.bat"

Now everyone who logs on will run the local MyDocs.bat
file.
The MyDocs.reg file will import ot every HKEY_CURRENT_USER.
-----Original Message-----
....now I just need the other half.

NT 4.0 domain. XP w/s.

In the userprofile I'm setting it to map H: to
\\server\share\<user_folder>

Now I want everyone who logs on to all the XP machines,
whether or not they have a profile or not, to have the My
Documents folder map to H:.

I can't seem to find anywhere in HKEY_LOCAL_MACHINE to set
a Personal or MyDocuments variable on a global scale. I
suspect I could do this with AD and GPO's, but we don't
have AD here.

Is there some kind of login script (yeck) that I could
execute to do this?

Thanks,

Mike
.
.
.
 
Back
Top