+ Post New Thread
Results 1 to 3 of 3
Windows 7 Thread, Windows 7, GPPs, mapped drives and shortcuts in Technical; So, just thought I would share this experience in case it helps anyone in the future. Turns out that due ...
  1. #1

    sparkeh's Avatar
    Join Date
    May 2007
    Posts
    6,737
    Thank Post
    1,272
    Thanked 1,645 Times in 1,101 Posts
    Blog Entries
    22
    Rep Power
    505

    Windows 7, GPPs, mapped drives and shortcuts

    So, just thought I would share this experience in case it helps anyone in the future.

    Turns out that due to a bug (that appears to date back to 2009) in Windows 7 you can't use GPPs to distribute shortcuts to drive that are mapped by GPP.
    The following Technet thread discusses this and appears to be where Googling this issue always ends up but didn't solve my particular issue:
    GPP Shortcuts using Mapped Drive Paths

    We have just had a visitor system installed and the management console for the system resides on the signing in machine (lets call it PC1). To access the console you need to map a drive (lets say X:\) to \\PC1\system and create shortcuts to X:\Console.exe and X:\EvacuationList.exe
    So rather than limit to particular machines I wanted the shortcuts to follow the users who should have access to the console - GPPs right? So I added the X: mapping and the shortcuts to the correct policies and targeted them at a security group. Logged on to a XP machine and everything worked, Windows 7 however gave me the dreaded
    Code:
    '0x80070002 The system cannot find the file specified.'
    Dammit.

    After much Googling I found the above thread and tried some of the suggestions. Irritatingly setting the shortcut as a shell object didn't work as I needed to add the 'Start in' option to say X:\ as without this the console didn't function correctly. You can't set the 'Start in' option in GPP shortcuts when they are shell objects for some reason.

    So to fix this I put the correct shortcuts in a server share \\<server>\networkApps and pointed the GPP shortcuts at these. Logged into a Win 7 machine and all worked correctly.
    Now the slightly odd bit. When I examined the console shortcut I expected it to point to \\<server>\networkApps\Console.exe but no, it was pointing at X:\Console.exe
    I guess that the shortcuts as resolved to their final destination which is a nice touch.

    Hope that helps someone some day.
    Last edited by sparkeh; 25th May 2012 at 09:45 AM.

  2. Thanks to sparkeh from:

    siuko (10th December 2013)

  3. #2

    Join Date
    Dec 2005
    Posts
    524
    Thank Post
    34
    Thanked 87 Times in 77 Posts
    Rep Power
    39
    Sorry for the necro....

    But THAAAAAAAAAAAANK YOU @sparkeh

    This works great and has stopped my random shortcuts working / not working!!

    Taaaa

  4. #3

    sparkeh's Avatar
    Join Date
    May 2007
    Posts
    6,737
    Thank Post
    1,272
    Thanked 1,645 Times in 1,101 Posts
    Blog Entries
    22
    Rep Power
    505
    No worries, glad it helped

    Now revist this thread I realised I now have something to add to this.

    You can also set shortcuts to be URLs which has an advantage.

    So, another scenario I tried was to mapped a drive with GPPs, then add a desktop shortcut to that drive with GPPs. This (usually) fails with Windows 7 and ordinary shortcuts as the path is checked, for some reasons it can't find the path and errors (even if the GPP to map the drive run before the shortcut GPP).
    However, if the shortcut is a URL (eg X:\) the path is not checked, the shortcut is created regardless so by the time the user clicks the shortcut, it works.

SHARE:
+ Post New Thread

Similar Threads

  1. mapped drives and blender
    By daz666 in forum Educational Software
    Replies: 2
    Last Post: 15th June 2012, 01:00 PM
  2. Replies: 36
    Last Post: 5th December 2011, 10:02 PM
  3. XP Mode and Mapped Drives
    By chazzy2501 in forum Windows 7
    Replies: 17
    Last Post: 17th December 2010, 11:41 AM
  4. GPP Mapped Drives (driving me crazy)
    By andy_whitlock in forum Windows Server 2008 R2
    Replies: 8
    Last Post: 18th August 2010, 08:48 PM
  5. VB Scrips and mapped drives
    By cookie_monster in forum Windows
    Replies: 4
    Last Post: 7th July 2008, 01:44 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •