Admin Tip #72: Windows NT Logon scripts - performing operations depending on user group membership |
Hits: Failed to execute CGI : Win32 Error Code = 3
|
:its ifmember itsgrp if not errorlevel 1 goto hrgrp net use u: \\server1\itsshare$ :hrgrp ifmember hrgrp if not errorlevel 1 goto secgrp net use u: \\server1\secshare$ ...
Unfortunately, I believe ifmember only works for NT workstations.
Check out John Kozubik's tutorial Windows NT Login Script Tricks and Tips for tips on NT login scripting.
Microsoft has introduced the downloadable Windows script for vbscript scripting purposes.