Answered by:
Creating Shortcut to Network Location Does NOT Work

Question
-
I am using GPO to push out shortcut linking to network resource
User Configuration | Preferences | Windows Settings | Shortcuts
Action: Create
Target Type: File System Object
Location: My Network Places --- I also tried Location: Desktop
Target Path: \\servername\sharename
Nothing seems work. I did 'gpupdate' and also reboot the computer and nothing show up! I hit the brick wall here, please help, thanks.
I want to achieve like screenshot below where network resources mapped as Name 1, Name 2 for example.
Thang Mo
Monday, December 8, 2014 4:17 PM
Answers
-
Hello ThangMo,
Please check the Group Policy scope.
Based on my test, if this shortcut policy is added in the Default Domain Policy, it will be applied to all users.
If the shortcut policy is added in specific Organization Unit, the shortcut will appear in the related accounts.If we don’t log on as related account, the shortcut to network location won’t appear. In this case, when we run the command GPRESULT /H rsop.html /f. The result will show that the shortcut policy is applied.
Please check if you log on as the corresponding account.
Best regards,
Fangzhou CHENFangzhou CHEN
TechNet Community Support- Marked as answer by Karen Hu Wednesday, January 7, 2015 9:54 AM
Tuesday, December 23, 2014 3:07 AM
All replies
-
Hello ThangMo,
If my understanding is right, you can’t use the GPO to add network resource shortcut in Network Location and desktop.
Please check if you can manually add the shortcut about the path \\servername\sharename in desktop.
I test in my environment, and the GPO work. Here is the configuration and result.
For more information, please take a look at the following blog about adding shortcuts on desktop using Group Policy Preferences in Windows 8 and Windows 8.1.
http://blogs.technet.com/b/askds/archive/2014/02/17/adding-shortcuts-on-desktop-using-group-policy-preferences-in-windows-8-and-windows-8-1.aspx
This article is about Windows 8, and the Windows 7 is similar. Based on my test, we need to use the Target Type: File System Object.Best regards,
Fangzhou CHEN
Fangzhou CHEN
TechNet Community Support- Edited by FangZhou Chen Thursday, December 11, 2014 5:50 AM
Wednesday, December 10, 2014 11:21 AM -
I did exactly steps you listed and it does not work. I tried both Action: Create and Update. I tested manually \\servername\sharename at run command and it connected successfully!
This time I applied gpo to computer instead of user, ran gpupdate /force and reboot it and no mapping! What else?
there are some current mapping this way that are set by previous tech but it runs from a bat file
Bat file
:NetHoodtest
if not exist "%userprofile%\nethood.txt" goto copynethood
goto time:copynethood
xcopy "\\servername\nethood$\*.*" "%userprofile%\nethood" /Y
xcopy \\111.11.111.1\netlogon\nethood.txt "%userprofile%"nethood.txt is a blank notepad
nethood folder shared on server contained shortcuts to resources.
I created shortcuts directly in the nethood folder on the server but my shortcuts don't get deploying!
Is it possible that his bat file somehow prevent my gpo deploying shortcuts? I prefer to use gpo over bat file, thanks.
Thang Mo
Thursday, December 11, 2014 4:52 PM -
Hello ThangMo,
Please run the gpresult GPRESULT /H rsop.html /f command to creates an .html file in the current directory that contains Group Policy results for the currently logged on user and computer.
For more information, please refer to the following article.
http://blogs.technet.com/b/askds/archive/2007/12/04/an-old-new-way-to-get-group-policy-results.aspxAdditionally, please upload the .html file to OneDrive and share with us.
Upload to OneDrive: http://windows.microsoft.com/en-us/onedrive/add-photos-files
Share with us: http://windows.microsoft.com/en-us/onedrive/share-file-folderBest regards,
Fangzhou CHENFangzhou CHEN
TechNet Community Support- Proposed as answer by Michael_LS Wednesday, December 17, 2014 9:26 AM
Monday, December 15, 2014 1:54 AM -
I won't be able to upload the file due to security concern. I read the file, it says my gpo 'shortcuts' applied
Computer Configuration Summary
Group Policy Objects > Applied GPOs > Name > shortcuts
Link Location: FQDN/OU/computers/testgpo (testgpo is an OU having my PC testing this 'shortcuts' gpo
Revision: AD (16), Sysvol (16)
Is there a way to edit html file? if I could hide domain name and user name, I would be able to upload this result, thanks.
Thang Mo
Wednesday, December 17, 2014 5:07 PM -
run command sfc /scannow
perform clean boot to exclude third-party software conflicts
http://support.microsoft.com/kb/929135/en-us
Monday, December 22, 2014 5:45 PM -
Hello ThangMo,
Please check the Group Policy scope.
Based on my test, if this shortcut policy is added in the Default Domain Policy, it will be applied to all users.
If the shortcut policy is added in specific Organization Unit, the shortcut will appear in the related accounts.If we don’t log on as related account, the shortcut to network location won’t appear. In this case, when we run the command GPRESULT /H rsop.html /f. The result will show that the shortcut policy is applied.
Please check if you log on as the corresponding account.
Best regards,
Fangzhou CHENFangzhou CHEN
TechNet Community Support- Marked as answer by Karen Hu Wednesday, January 7, 2015 9:54 AM
Tuesday, December 23, 2014 3:07 AM