Once you have finished testing the script and you are happy with the results, you need to implement it. This is a two or three stage process - depending on your environment.
|Windows NT 4.0 DC||c:\winnt\system32\repl\export\scripts|
|Windows 2000/2003 DC*||c:\windows\sysvol\sysvol\<domain name>\scripts|
You can also check the location of the scripts directory by issuing the following command at a Command Prompt
"net share netlogon" (minus the quotes).
* includes Small Business Server variants.
Implementing via Group Policy
If you are in a Windows 2000 environment with Active Directory domain you can also implement the login script via the Group Policy. This would allow you to have different scripts for different OUs. You can also have logoff scripts which run when a user logs out of their machine.
However if you are suing logoff scripts, it might be a good idea to include the logoff section in the first part of your login script in case the logoff script didn't run correctly or the user failed to logout (power failure etc).
After copying the script in to the location as indicated above and waiting for replication to complete, you will need to change your group policy.
The settings you need to adjust you will find in "User Configuration", Windows Settings, Scripts. There are also other settings in Group Policy that you can adjust that will affect how a login script works (making it visible while running, synchronous or asynchronous etc). These are at "User Configuration", "Administrative Templates", "System", "Scripts".
More details on the Group Policy can be found here.
You may also use these same settings if you are on a standalone machine or in a workgroup and are using a local script. However for this configuration you would edit the "Local Group Policy".
Copyright Sembee Ltd. 1998 - 2015.
Reproduction of any content on this web site is prohibited without express written consent. Use of this web site is subject to our terms and conditions.
All trademarks and registered trademarks are property of their respective owners. This site is not endorsed or recommended by any company or organisation mentioned within and is to provide guidance only and as such we cannot be held responsible for any consequences of following the advice given.
Sembee Ltd. is registered in England and Wales at 1 Carnegie Road, Newbury, Berkshire, RG14 5DJ.
Registered company number: 4704428. VAT Number GB 904 5603 43.