Warning

 

Close

Confirm Action

Are you sure you wish to do this?

Confirm Cancel
BCM
User Panel

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
[#1]
A batch file placed in run in the regestry? Or in startup.


ByteTheBullet  (-:
Link Posted: 12/14/2005 11:37:11 AM EDT
[#2]
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
[#3]

Quoted:
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
[#4]

Quoted:
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
[#5]
Check kixstart as suggested above...Good luck!


ByteTheBullet  (-:
Link Posted: 12/14/2005 12:49:30 PM EDT
[#6]
Windows domain?  If so, use a group policy.  
Link Posted: 12/14/2005 5:34:45 PM EDT
[#7]
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
[#8]
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
[#9]
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
Close Join Our Mail List to Stay Up To Date! Win a FREE Membership!

Sign up for the ARFCOM weekly newsletter and be entered to win a free ARFCOM membership. One new winner* is announced every week!

You will receive an email every Friday morning featuring the latest chatter from the hottest topics, breaking news surrounding legislation, as well as exclusive deals only available to ARFCOM email subscribers.


By signing up you agree to our User Agreement. *Must have a registered ARFCOM account to win.
Top Top