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:
- In the %SystemRoot%\SmallBusiness\Template folder, rename the Template.bat file to Template.old.
- 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).
- 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:
- 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.
- Rename the Jdoe.bat file to Jdoe.old.
- Paste a copy of the modified Template.bat file in the folder, and then rename it Jdoe.bat.
- 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