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.
What is the correct command line to place in a logon script for doing the following. I want the script to check if a user belong to a certain global group if the global group is correct then I want it to map to a share. If it is not the correct username I want it to ignore the map to the share.
Name: Thorsten Date: May 8, 2001 at 13:03:34 Pacific
Reply:
Hi Silvano, that's very simple. Copy the ifmember.exe from the ressource kit to the netlogon folder. Insert the following lines in your login script and it run. If you have more than one Domain Controller copy both files to all DCs
net use /persistent:no >>%logdev% %LOGONSERVER%\netlogon\ifmember.exe GROUP if not errorlevel 1 GOTO NEXT if exist L:\nul net use L: /d /y >>%logdev% net use L: \\Server\SHARE >>%logdev% :NEXT
Summary: Hi, Does anyone know how long the Map Network Drive list of previously mapped folders is retained by the system? Does it get cleared after n days? Or is the list retained indefinitely? We are tryin...
Summary: I am a Administrator running NT4.0 I have setup users up on to domain and have set up policys so the users cannot map network drives this works fine with the windows NT Desktop But in the file open...