For a customer I’m building a custom Start Menu in Windows 7 which will be populated through Group Policy Preferences.
I know, some of you probably prefer RES Workspace Manager to manage the settings on the desktop, but Group Policy Preferences is a great alternative if the customer doesn’t want to spend a lot of money . When I was doing some tests with the Start Menu, some of the created shortcuts didn’t appear in the Start Menu.
Why use quotes?
I had to copy-paste the target path for some of the applications, because they weren’t installed on the machine where I created the GPP’s and therefore I couldn’t browse for the path. When using a path of created shortcut, the path is often started and ended with a quote.
And in the old days, you would have to use quotes when using a path with spaces in it or the entire path won’t be recognized. But when I used quotes in the target path with the GPP shortcut, the shortcut wouldn’t appear on the client….how strange is that!?
Only the shortcuts without the quoted target were published to the client, and the shortcut with quotes is skipped.
Skip the quotes!
At first I didn’t even thought of the fact that loosing the quotes would solve this issue, in the end I even thought that there was something wrong with the GPO’s itself…but thanks go to Wilbrand, who was doing a cup of tea and mentioned…that the only difference were the quotes. He was right, so when I did loose the quotes and did a gpupdate on the client, the shortcut was appearing on the client! Problem solved!
So when you are populating your Start Menu by using Group Policy Preferences, loose the quotes on the target path when using a already existing shortcut for an example. There is also another need to know when it comes to item level targeting when using the Security Group item, but more about that issue in the next blog post!