Solved

GPO Computer Policy, firewall policy for user application

Posted on 2014-02-02
1
373 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
1 Comment
 
LVL 36

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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

Trying to figure out group policy inheritance and which settings apply where can be a chore.  Here's a very simple summary I've written which might help.  Keep in mind, this is just a high-level conceptual overview where I try to avoid getting bogge…
It’s been over a month into 2017, and there is already a sophisticated Gmail phishing email making it rounds. New techniques and tactics, have given hackers a way to authentically impersonate your contacts.How it Works The attack works by targeti…
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…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

831 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