Thu, Nov 12 2009 21:27
bradley
Migration Step Twenty One: Getting rid of those login scripts
If you are attaching Windows 7 (or Vista's) to your SBS 2003 you will notice that they pop a UAC upon logging into the server. This is caused by the login script. You'll also note that the migration info wants you to kill off these scripts when you move to SBS 2008. So what do you use to map drives and other scripty things you used to do? Group policy preferences is what you do.

But first, let's remove the old logon scripts.

Remove old logon scripts for Windows SBS migration
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.
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\<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 check this, go into active directory users and computers (on either box) and go into the MyBusiness OU, go into the users, then the SBSUsers OU and go into properties and check the profile tab. Ensure that there's no login script linked. You'll see on a sample profile there is.

Click shift to choose all of the users, right mouse click on properties and go to the profile tab to clear it out.

Tick the box, leave the script blank click apply.
Filed under: Migration