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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Multiple logon scripts

Status
Not open for further replies.

SgtB

IS-IT--Management
Joined
Oct 3, 2002
Messages
447
Location
US
Can you use multiple logon scripts for one user. I'd like to set up a seperate logon script for a certain group of users, while maintaining the global logon script for all users. Being able to add and remove this logon script would be extremely beneficial to our environment. I know I could edit the main logon script for similar results, but I'd like to avoid that.

Any ideas?

Thanks!
 
I have created a login script for special purposes, and in the user profile I set the path and file name to that script. It was executed when I logged in.

Hope this gives you an idea.

Regards,
Best Regards,
David Tracy
dba: Tall Clipper Ships
Clifton, Arizona 85533
tracys@vtc.net
 
Thanks for the reply!

That's were we have the standard logon script. That script is executing fine. I was wondering if it were possible to add additional logon scripts.
 
[ To SgtB ]

What I did was to make a new login batch file, like this:

dtracy.bat
rem Then inside the bat file...
rem Call the global login script.
call login.bat
rem Then do the special thing I wanted..
net use \\printers\dj6 etc.

Then I replaced the name of the global login script in my profile with my personal login file. Works for me!

Best Regards,
David Tracy
dba: Tall Clipper Ships
Clifton, Arizona 85533
tracys@vtc.net
 
You can also have certain groups run certain batch files using ifmember.exe from the resource kit.
 
Thanks for the input! I appreciate it!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top