No Logon Script!



In my company, we only had 1 logon script. It was used to do the usual stuff map network drives, add printers and a couple of other little things like reg key changes.

I dont know why, but I have never been a fan of logon scripts so when I was handed this Windows 7/Windows Server 2008 R2 deployment I decided to get rid of the logon script if at all possible.

The great thing about Windows Server 2008 R2 is that Group Policy has all these great Preferences settings that you can control, and the first one that caught my attention was “User Configuration\Preferences\Windows Settings\Drive Maps”

The best thing to do when setting up a entry under the Drive Maps preferences is set the action as “Replace”, that way if you need to make changes in the future such as changing a location it will dynamically update as its replacing this setting if changed at each Group Policy refresh. We have 4 drives mapped and our users connect via VPN about 25% of the time. When they did this before, they had to run a script to remap the drives, as part of Group Policy its always mapped for them.

Under “User Configuration\Preferences\Windows Settings\Registry” you can apply any registry tweaks to workstations, which removes another use for a logon script at my company. I only have 2 reg key updates in there 1 for a communication software we use and another for the desktop wallpaper due to an issue with themes in Windows 7

Finally If you setup your sever as a Print server you can deploy your printers via Group Policy and that eliminates the need for a logon script at my workplace, while only a small thing and we only have 80 odd users I feel that it just all seems cleaner.