Solved

GPO Computer Policy, firewall policy for user application

Posted on 2014-02-02
1
386 Views
Last Modified: 2014-03-18
Hello

We have an application that executes in the context of a user, i.e. the path on win7 to the application is C:\Users\<user.name>\AppData\Local\<app.folder>\<app>.exe
Issue is that on first execution the application <app>.exe needs to make an inbound firewall policy, this policy references the specific username as per path above.

We would like to set this firewall policy in GPO computer settings using %USERNAME%, i.e. C:\Users\%USERNAME%\AppData\Local\<app.folder>\<app>.exe , this path is not recognised in the context of a user on the client machine. GPO setting is applied but executing the user application creates the default policy with path C:\Users\<user.name>\AppData\Local\<app.folder>\<app>.exe . now we have a policy with local policy <username> and GPO policy with %USERNAME%.

Is there a way to do this via GPO with non-specific username variable?
0
Comment
Question by:hairylots
[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
1 Comment
 
LVL 37

Accepted Solution

by:
Mahesh earned 500 total points
ID: 39829160
%localappdata%\app\app.exe

The above variable represents
C:\Users\%username%\AppData\Local

You need to append app folder

Mahesh
0

Featured Post

Industry Leaders: 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!

Question has a verified solution.

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

Suggested Solutions

Issue: One Windows 2008 R2 64bit server on the network unable to connect to a buffalo Device (Linkstation) with firmware version 1.56. There are a total of four servers on the network this being one of them. Troubleshooting Steps: Connect via h…
When you upgrade from Windows 8 to 8.1 or to Windows 10 or if you are like me you are on the Insider Program you may find yourself with many 450MB recovery partitions.  With a traditional disk that may not be a problem but with relatively smaller SS…
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…

733 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