Creating shortcuts with Group Policy Preferences doesn’t work
Apr 29
ADMX, Windows 7 GPMC, GPO, Group Policy Preferences, Preference, Script 3 Comments
This is a quite common question about Group Policy Preferences so I’ll post it here and maybe someone will benefit from the information.
Scenario:
Trying to create a shortcut to a fixed drive letter using Group Policy Preference that points to a location on the network. After login there is no shortcut created and if you look in eventlog you see an error “0×80070002 The system cannot find the file specified”. If you run GPupdate /Force the shortcut is created.
This is an issue where it’s trying to create the shortcut before the drive’s are connected and Windows can’t create new shortcuts to locations not connected.
Workarounds:
- Create the shortcut using UNC-path
- Create the drives and shortcuts using logonscript
- Create a scheduled task (using GPP) to run GPupdate after user logon or use logonscript to run GPupdate
Hope someone benefits from this information.
Technorati Tags: Group Policy Preferences, Preference, script
RSS
sonicbass
Sep 29, 2011 @ 12:39:11
cool thanks very much
Dest
Dec 08, 2011 @ 21:46:35
Or enable the “wait for network before logon” option.
GAMe
Mar 15, 2012 @ 18:18:42
http://technet.microsoft.com/en-us/library/cc753580.aspx