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.
  • Rating: Not Rated
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 was lead author for the Windows Vista Resource Kit from Microsoft Press, which is the book for IT pros who want to deploy, maintain and support Windows Vista in mid- and large-sized network environments. Mitch was also the author of Introducing Windows Server 2008 and technical project lead for the Microsoft Office Communications Server 2007 Resource Kit, both books also from Microsoft Press. For more information on these and other books by Mitch, see www.mtit.com .

Share this article


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

What is your preferred Remote Control solution?