Step Thirty one removing logon scripts

Windows SBS 2003 uses logon scripts for tasks such as installing software and customizing desktops. In Windows SBS 2011 Standard, the Windows SBS 2003 logon scripts are replaced with a combination of logon scripts and Group Policy objects.

My take… stop using logon scripts and start learning Group policy preferences….


If you modified the Windows SBS 2003 logon scripts, you should rename the scripts to preserve your customizations.


Windows SBS 2003 logon scripts apply only to user accounts that were added by using the Add New Users Wizard.

To remove the Windows SBS 2003 logon scripts

1.   On the Migration Wizard Home page, click Remove legacy group policies and logon settings, and then click Next.

2.   Log on to the Source Server with an administrator account and password.

3.   On the Source Server, click Start, and then click Run.

4.   Type \\localhost\sysvol\<YourNetworkDomainName>.local\scripts, and then press ENTER.

Note that the .local is only .local if your domain name is .local.  If it’s .lan like mine, use that instead.

5.   Delete or rename SBS_LOGIN_SCRIPT.bat.

After you delete the old logon scripts, use the following procedure to verify that all users’ profiles are updated to not use a logon script:

To verify user profiles

1.   On the Source Server, click Start, click Administrative Tools, and then click Active Directory Users and Computers.

2.   In the navigation pane, expand <YourNetworkDomainName>, expand My Business, expand Users, and then expand SBSUsers.

3.   Select all the user accounts, right-click the highlighted user accounts, and then click Properties.

4.   On the Profile tab, select the logon script check box, clear the text field, and then click Apply.

5.   Close Active Directory Users and Computers.

6.   When you finish removing the logon scripts and verifying that the users’ profiles are updated, return to the Migration Wizard on the Destination Server.

7.   If you are finished deleting old logon scripts and old Group Policy objects, click Task Complete, and then click Next. Alternately, if you want to remove old Group Policy objects, click Remove old Group Policy Objects.

Comments are closed.

Post Navigation