?
Solved

GPP  Shortcut not working.

Posted on 2013-01-09
10
Medium Priority
?
538 Views
Last Modified: 2013-01-26
I'm trying to create a shortcut using GPP.  It's not working???  I've enclosed a picture of what I'm doing.  the argument echo %username:-3,99% is there because I have wrm in front of all user names but the folders on the user drive don't have that.  That was suppose to off set that.  It worked for one test machine but it's not working now.  I'm not sure that's the issue but the GPO is working because the 1st half redirects the "my documents" folder to the server.  Windows 7 doesn't have a shortcut for this on the desktop and my users are used to it so I tried to do it this way.
gpp.png
0
Comment
Question by:WellingtonIS
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 3
10 Comments
 
LVL 23

Expert Comment

by:yo_bee
ID: 38761672
Are you trying to put the My Documents folder on the desktop ?
0
 
LVL 82

Expert Comment

by:David Johnson, CD, MVP
ID: 38761732
it looks like you have folder redirection policies in place BUT how in the world did the %username% in your folder redirection policy skip the first 3 letters? Why did you NOT just use the %username% variable when folder redirection was set up ??

then it would be simple to use \\servername\users\%username%\documents for the target location

try just adding \documents to the end
0
 

Author Comment

by:WellingtonIS
ID: 38762718
I have a prefix in front of the user names because of a domain consolidation.  We had to distinguish between sites and all sites have a prefix in front of the user names.  When I originally set up the file server for the users directory we didn't have the prefix so all the folders don't have the user name prefix in them.

 What I tried to do is just map the shortcut to the drive letter that is the home folder set up in the AD account it still didn't copy. So for example I changed the GPP target path to the drive letter mapping (N:|) and created a shortcut to go with it.  It's still not working.
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 23

Expert Comment

by:yo_bee
ID: 38763315
Question I have is the folder for the user is  %username% = username - the site prefix
0
 

Author Comment

by:WellingtonIS
ID: 38763395
No - its for example  \\servername\users\jones and the user name would be wrmjones.  the "wrm" was an after thought if you will.  The users were already set up on the file server and couldn't be changed.
0
 
LVL 23

Expert Comment

by:yo_bee
ID: 38763479
I see.
Give me a few minutes see if I can replicate this in my Lab
0
 

Author Comment

by:WellingtonIS
ID: 38763642
OK thax
0
 

Author Comment

by:WellingtonIS
ID: 38766859
Was able to do a work around for now with Psexec - I created a short cut and just used the N:\ as the path.  It works with Psexec but not with GPP..  Strange but I'd still like to get this working if possible.
0
 

Accepted Solution

by:
WellingtonIS earned 0 total points
ID: 38802594
I actually got this to work!!! I used %HOMESHARE%%HOMEPATH%
0
 

Author Closing Comment

by:WellingtonIS
ID: 38821821
Im requesting to close this because I figured it out myself.  I used %HOMESHARE%%HOMEPATH% and the shortcut showed up with the correct mapping.
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you try to extract and to view the contents of a Microsoft Update Standalone Package (MSU) for Windows Vista, you cannot extract the files from the MSU. Here we are going to explain how to extract those hotfix details without using any third pa…
While working, an annoying popup showing below will come and we cannot cancel or close it form the screen. The error message will come again and again.
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
This Micro Tutorial will give you a introduction in two parts how to utilize Windows Live Movie Maker to its maximum capability. This will be demonstrated using Windows Live Movie Maker on Windows 7 operating system.
Suggested Courses

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question