How to Customize the Logon Script Template in Small Business Server

ID: Q245339


The information in this article applies to:
  • Microsoft BackOffice Small Business Server versions 4.0, 4.0a, 4.5


SUMMARY

Each time you run the Setup Computer Wizard, a logon script is created for a specified user. A default logon script template is used to create the logon script for each user.


MORE INFORMATION

To customize the logon script template:

  1. In the %SystemRoot%\SmallBusiness\Template folder, rename the Template.bat file to Template.old.


  2. Open the Template.old file. This file contains several replaceable parameters including SBSUser (which corresponds to the user name for the user specified in the Setup Computer Wizard) and SBSServer (which corresponds to the machine name of the computer running SBS).


  3. After you make the appropriate changes, save the file as Template.bat.


If there are existing users, you need to save this template to the user's logon script folder:
  1. Locate the %SystemRoot%\System32\Repl\Import\Scripts\SmallBusiness folder. Each user's logon script is located here. In this example, Jane Doe is a user that you created before the logon script was modified. Her user name is jdoe.


  2. Rename the Jdoe.bat file to Jdoe.old.


  3. Paste a copy of the modified Template.bat file in the folder, and then rename it Jdoe.bat.


  4. Repeat this action for each existing user.



REFERENCES

For additional information about logon scripts, click the article number below to view the article in the Microsoft Knowledge Base:

Q102907 How to Troubleshoot Local Logon Scripts with Windows NT

Additional query words: smallbiz

Keywords : kbenv
Version : winnt:4.0,4.0a,4.5
Platform : winnt
Issue type : kbinfo


Last Reviewed: November 9, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.