Warning

 

Close

Confirm Action

Are you sure you wish to do this?

Confirm Cancel
Member Login
Posted: 12/14/2005 11:24:47 AM EDT
Is there a way to map a network drive for all user profiles that are using a specific OS without changing their login script? Everyone is using the same script and we dont want to change the scripts for users of different OS's.

Link Posted: 12/14/2005 11:32:37 AM EDT
A batch file placed in run in the regestry? Or in startup.


ByteTheBullet (-:
Link Posted: 12/14/2005 11:37:11 AM EDT
Well are the scripts local or ran off a server? If they are local change the ones that need a mapped drive with 'net use' if they are on the server and they all go to one place make different logon groups and make the scripts to the user and not to the OS group.
Link Posted: 12/14/2005 11:37:16 AM EDT

Originally Posted By ThePrepared_com:
Is there a way to map a network drive for all user profiles that are using a specific OS without changing their login script? Everyone is using the same script and we dont want to change the scripts for users of different OS's.




Sure, but you have to change the logon script

Kixstart scripts and VBScript can look at the OS and only execute the drive mapping if the OS is the correct one.

Other than that, you could do a massive registry hack with a "for /f in (") DO ()" command script. But that would suck.

Disconnector
Link Posted: 12/14/2005 11:43:40 AM EDT

Originally Posted By ByteTheBullet:
A batch file placed in run in the regestry? Or in startup.


ByteTheBullet (-:



That would work but we would need to do it on a couple hundred boxes.
Link Posted: 12/14/2005 11:49:24 AM EDT
Check kixstart as suggested above...Good luck!


ByteTheBullet (-:
Link Posted: 12/14/2005 12:49:30 PM EDT
Windows domain? If so, use a group policy.
Link Posted: 12/14/2005 5:34:45 PM EDT
there is a way to do it by creating a profile with the mapping, then copying the ntuser.dat and ntuser.ini files from that profile to the all users profile. IIRC, or if that doesn't work try putting it in the default users profile.

You have to do this before anyone else creates a profile, or you have to rename their profile and have them create a new one.
Link Posted: 12/14/2005 6:25:03 PM EDT
If you wish to spend $, Script Logic has a program called Desktop Authority and you can do just about anything.
Link Posted: 12/14/2005 7:47:33 PM EDT
On our active directory we set up all new users with a roaming profile and the "Users and Domains" console automatically uses \\gunlvrsactivedirectory\server1\profiles$\%user% for the roaming profile data storage.

Group policy can probably do it but I am not sure which key sets it.

There is also a Visual Basic script that should be able to do it but you might need to use group policy to push out the script. Check with me in a few days and I can either point you to a script site or to code.

GunLvr
Top Top