Group Policy Preference Shortcuts

This came up because we’ve change our web filtering soution, and our new proxy wasn’t handling our internal ftp server too well (basically, it behaved differently depending on whether you were accessing it through IE or “Open FTP site through Windows Explorer”).

As I’d previously found out how to pass explorer an ftp URL directly (put the ftp site in double quotes after c:\windows\explorer) I thought I’d have a go at publishing shortcuts to people’s start menu. I thought I’d figured out how to create a shortcut pretty quickly, but kept getting these events:

“…Group Policy object did not apply because it failed with error code ‘0x80070002 The system cannot find the file specified.’ This error was suppressed.”

This threw me for quite a while as I assumed it meant it couldn’t find explorer.exe initially, then thought maybe it couldn’t handle spaces in shortcut names (which would be kinda stupid).

Turns out it was nothing of the sort. The “Target Path:” field must contain only the path to a single executable. Anything else- switches, arguments etc- must go into the “Arguments:” field. This sorted it all out so every PC now has a functioning shortcut on the start menu pointing to our ftp site.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s