Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Registry Changes

Status
Not open for further replies.

richclever

IS-IT--Management
Oct 5, 2000
127
FR
I have a VBscript running in the startup folder of my Win98 clients that changes registry entries to map the my documents folder to the users folder on the NT4 server. However it sometimes doesn't completely do the job, changing the properties of the folder to the correct user, but when the mydocuments folder is opened it is the previous persons folder.

The registry changes are as follows:
"HKCU\software\microsoft\windows\currentversion\explorer\user shell folders\personal ", userpath
and
"HKCU\software\microsoft\windows\currentversion\explorer\ shell folders\personal ", userpath

Where userpath contains the users name from the registry.

Has anyone got any ideas how to make sure that the script finishes its job.

Thanks in advance
 
you might try letting the script run from the registry rather then the startup group. You can put a link to it in the registry under:

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
or
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run

this should activate when the user logs in. I don't know if it will help, but it's worth a shot. If that does not work, I'll need to see the script to help any more. Hope this helps!


David Moore
dm7941@sbc.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top