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?

MooseBalm
  • 267
  • 1
  • 4
  • 13

1 Answers1

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.

  • 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 '13 at 15:03
  • Are those clients all Windows 7 or higher ? Windows XP doesn't support the environment variable %localappdata% – Becks TibiaFun Sep 18 '13 at 15:16
  • Yes, all clients are Windows 7 – MooseBalm Sep 18 '13 at 15:20
  • Trying to recreate the scenario on my own now and deploy a shortcut, hold on ! – Becks TibiaFun Sep 18 '13 at 15:42
  • I've edited my answer, take a look there's a possible solution – Becks TibiaFun Sep 18 '13 at 16:25
  • I didn't realize you can define the location in the name, but it still doesn't seem to show. I'm just going to show the teachers how to direct their students to it, but I am still interested in finding the source of the problem at hand. – MooseBalm Sep 18 '13 at 17:30
  • Are you able to add an edited, (remove confidential information) screenshot of your GPO ? I'd like to compare your GPO with one of mine. – Becks TibiaFun Sep 19 '13 at 07:07
  • A manually added shortcut pointing to the application worked just fine. Here is my GPO: [GPO properties](http://imageshack.us/photo/my-images/51/qk6z.png/) [OU Targeting](http://imageshack.us/photo/my-images/850/gmkr.png/) – MooseBalm Sep 19 '13 at 12:11
  • Thx, but I've meant a screenshot of the GPO directly (as I showed). Probably there's the error since it should work in normal cases. – Becks TibiaFun Sep 19 '13 at 13:13
  • Haha, dumb. I inserted the incorrect link. Sorry about that. [GPO Properties](http://imageshack.us/f/6/96x2.png/) – MooseBalm Sep 19 '13 at 13:19
  • Thank you, now I see why it is not working, check my answer post, there I've explained everything. – Becks TibiaFun Sep 19 '13 at 16:26
  • Ugh, finally! There is a headache I don't have to worry about in the future. Thanks for the help! – MooseBalm Sep 20 '13 at 15:30