1

We have a lockdown browser application that was installed on all of our students' laptops, but it was installed to the local app data of the user that performed the install. Therefore, none of our students see the application, because they are all under my user and my boss's user. I have tried writing a GPO shortcut policy to create a desktop shortcut that points to the path "%localappdata%\NWEA\Lockdown Browser\Lockdown Browser.exe" and "C:\%localappdata%\NWEA\Lockdown Browser\Lockdown Browser.exe". Is there something you need to do specifically when the path contains a variable like that?

1
  • Oh gosh, NWEA, my sympathies.
    – jscott
    Sep 19, 2013 at 9:08

1 Answer 1

0

Finally, I've found out the source of your problem

It is not about %localappdata%, it is about the target Location since you are using the predefined Variables (Locations) in GP Preferences then make sure that the environment variable exist on your Client device. As far as I can see the Variables are not defined by default.

Either set them on your Clients or use a full path including your %localappdata% instead.

In your case the system tries to create a shortcut on %CommonStartMenuDir% while this variable is unknown to the System.

Hope this helped you out of your misery !


Have you made sure sure that the NTFS rights are set correctly on the executable ? Probably set NTFS security rights on "YourStudentGroup" or "Authenticated Users" to "Read&Execute". Furthermore if it is targeting to %localappdata% it will always search for the target in the current active profile, aren't you trying to open an application from an other users profile ?


Take a look on the following img for my Test GPO. Probably your problem is not the %localappdata% path, I guess in your GPO you've got %DesktopDir% as filepath. This environment variable however is not defined so use "%userprofile%\desktop" instead

(cannot post imgs yet so here's a link) http://imageshack.us/a/img34/7812/jzs.png


Furthermore you should also try to create the link manually on a test system, if the target can't be found no shortcut will be created at all. I've experienced that due my tests for you yesterday.

12
  • No, this whole situation was kind of a mess. We are using a certain testing program that we didn't decide to use until after we had pushed out the image to each laptop this summer, and the MSI from the company still requires a batch file to run the .msi with specific triggers. We created a batch file and put it on a student accessible file share and had the teachers direct them to that file share and run the batch file. The students use the same laptop every day and never switch so I need it to point to the local app data of the user that is the primary user of each laptop.
    – MooseBalm
    Sep 18, 2013 at 15:03
  • Are those clients all Windows 7 or higher ? Windows XP doesn't support the environment variable %localappdata% Sep 18, 2013 at 15:16
  • Yes, all clients are Windows 7
    – MooseBalm
    Sep 18, 2013 at 15:20
  • Trying to recreate the scenario on my own now and deploy a shortcut, hold on ! Sep 18, 2013 at 15:42
  • I've edited my answer, take a look there's a possible solution Sep 18, 2013 at 16:25

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .