Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
NT/W2K login script query
Name: Mikeee Date: April 17, 2002 at 01:20:30 Pacific
Comment:
I am currently writing a script in the form of a simple batch file to map certain users only to a specific drive. The aim is that when they log into domain they will automatically execute the batch file from a generic scripts folder on the PDC.
The problem is that I can not seem to get the syntax right, I have tried using the ifmember command but I can't interpret that to work for a single user only groups.
Can anyone point me to a webpage that breaks down all parameters of this kind including %username%, %homepath%, %os%, etc etc.
Name: Jennifer Date: April 17, 2002 at 06:19:23 Pacific
Reply:
Put the name of the batch file in the Script box of the User's profile.
That way, it'll run when the user logs in with his/her domain account, no matter which machine they login to.
0
Response Number 2
Name: mikeee Date: April 17, 2002 at 08:53:31 Pacific
Reply:
Due to the number of users on the network I dont want to create numerous scripts and batch, opting for a few centralised that I can manage with little difficulty. That is why I really need to find out what syntax to use in-order to map certain drives to certain users.
0
Response Number 3
Name: Marius Date: June 4, 2002 at 03:35:17 Pacific
Reply:
Please see if this will help http://windows.about.com/library/weekly/aa031200a.htm
0
Response Number 4
Name: Marius Date: June 4, 2002 at 03:51:19 Pacific
Reply:
This site is even better: http://www.safersite.com/Support/HowTo/How_To_Work_with_Login_Scripts.asp#NT1
Summary: I actually posted this question in the NT forum as well, but wasn't sure if the answer would be the same for Windows 2000, or if there were any "improvements" that may actually make this easier in 2k/...
Summary: Kev, that may not be correct. He says :any and all users who login to the server run that script" - well, making a GPO will not affect any 9x clients - although I admit he doesnt say he has any. I wo...
Summary: Wow! Getting sorta extra technical. I'd suggest you take time to test all that out if you really are doing something like that. Normally someone would create a program that would replace the login. Um...