Testing the Login Script

Creating the Initial File | Testing | Implementation

Basic Techniques: Mapping Drives | Connecting Printers | Section Labels

More Advanced Techniques: Group Membership For Mappings | Record Script Results | Location Detection | Machine ID | OS Detection |
Registry Changes | Redirection of IE Favourites | Existing File / Directory Check | Limit the Number of Network Logins a User Can Make

You should test the login script before you use it. You can also use the same technique if you want to use a login script on a machine or a user that isn't part of a domain.

This technique only works for local machines - if you want to test with a domain login you should follow the instructions for implementing the script here.

  1. Create a new directory on your machine (location isn't important) called "Netlogon". The name must be as shown.
  2. Share this new directory, also with the name "netlogon" and give the share Read only permissions to everyone.
  3. Place your login script in to this new folder, along with any other executables you have used, such as "ifmember".
  4. Open Computer Management (Control Panel, Administrative Tools) and click on the "User Manager" item.
  5. Use this local User Manager to create a new local user for your machine.
  6. Modify the properties of the user to add the login script. Just enter the name, for example "login.bat"
  7. Logout and then then login to your machine with the new user to see if your script works correctly.

If you wish to record a log of the login script, then see Recording Login Scripts Results page.


Top of the Page - Home Page
Last Page Update: 08/03/2012

© Sembee Ltd. 1998 - 2012.

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 33 Scrivens Mead, Thatcham, Berkshire, RG19 4FQ.
Registered company number: 4704428. VAT Number GB 904 5603 43.