Partager via


Remove old logon scripts for Windows SBS migration

Updated: January 22, 2009

Applies To: Windows SBS 2008

Windows SBS 2003 uses logon scripts to install software, to customize desktops, and for other tasks. In Windows SBS 2008, the Windows SBS 2003 logon scripts are replaced with a combination of logon scripts and Group Policy objects.

Note

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

Note

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\<DomainName>.local\scripts, and then press ENTER.

  5. Delete or rename SBS_LOGIN_SCRIPT.bat.

After you delete the old logon scripts, 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 <DomainName>, expand My Business, expand Users, and then expand SBSUsers.

  3. Ctrl-click to select all user accounts, right-click the highlighted user accounts, and then click Properties.

  4. On the Profile tab, verify that the logon script check box is blank.

  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.

    1. If you are finished deleting old logon scripts and old Group Policy objects, click Task Complete, and then click Next.

    2. If you want to remove old Group Policy objects, click Remove old Group Policy Objects.