Logon Scripts, Group Policy Preferences, and Windows Vista

  • Section(s): Administration
  • Published on Nov 05, 2008.
  • Last Modified on Nov 06, 2008.
  • Last Modified by Mitch Tulloch.
  • Rated 5 out of 5 based on 1 votes.
Many logon scripts that worked with Windows operating systems won’t work with Windows Vista. Here’s what you can do to replace them.

Many logon scripts that worked with previous Windows operating systems won’t work with Windows Vista. This is because of User Account Control (UAC), which can block certain types of logon script actions from running automatically, including writing to the registry—even if the user’s account is added to the local Administrator’s group on the system. One workaround is to put such actions into startup scripts instead of logon scripts, but they won’t always work that way. Another workaround is to disable UAC, but this is not recommended as it can impact application compatibility, lower security, and cause access errors because of file and registry virtualization.

The best solution is to replace your logon scripts with Group Policy Preferences, a feature of Windows Server 2008 that can replace most if not all logon script actions. Group Policy Preferences are one of many good reasons for upgrading your back-end infrastructure from Windows Server 2003 to Windows Server 2008. For more information on Group Policy in Windows Vista and Windows Server 2008, see the Windows Group Policy Resource Kit: Windows Server 2008 and Windows Vista.

About Mitch Tulloch

Mitch Tulloch is a widely recognized expert on Windows administration, networking, and security. He has been repeatedly awarded Most Valuable Professional (MVP) status by Microsoft for his outstanding contributions in supporting users who deploy and use Microsoft platforms, products and solutions. Mitch has published over two hundred articles on different IT websites and magazines, and he has written or contributed to almost two dozen books and is lead author for the Windows 7 Resource Kit from Microsoft Press. For more information, see www.mtit.com .


Article not looking right or info is missing? Let us know so that we can fix it: .


Receive all the latest articles by email!

Receive Real-Time & Monthly WindowsNetworking.com article updates in your mailbox. Enter your email below!
Click for Real-Time sample & Monthly sample

Become a WindowsNetworking.com member!

Discuss your network issues with thousands of other network administrators. Click here to join!

Community Area

Log in | Register

Readers' Choice

Which is your preferred network administration tool?