Login | |
|
 |
Re: Mapping Network Drive - 5/18/2005 3:46:32 AM
|
|
 |
|
| |
marcusrp
Posts: 145
Score: 0
Joined: 4/19/2005
From:
Status: offline
|
right, each time a system is rebooted and the user logs in, the HKEY_current_user section of the registry is rebuilt dynamically based on the profile settings of the user logged in, and this includes any drive mappings created under THAT USERS credentials. NOT yours. Again, the drive mapping was created using different credentials, and those are only included in HKEY_current_user when THAT user logs in. Like I said before, your best bet may be to include the proper user creds in your script like you originally did, and then put the script into the 'all users' startup folder. That way, when the system starts up, no matter who logs in the script will run, and hopefully the drives will map using the credentials hard coded into the script. If there are security problems with putting the creds directly on the machine, create a .bat or .cmd file in there instead that calls the script remotely.
|
|
| |
|
|
|
| |
|
|
 |
|
 |
|
|