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.