Solved

GPO Computer Policy, firewall policy for user application

Posted on 2014-02-02
1
352 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 35

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

I'm a big fan of Windows' offline folder caching and have used it on my laptops for over a decade.  One thing I don't like about it, however, is how difficult Microsoft has made it for the cache to be moved out of the Windows folder.  Here's how to …
Know what services you can and cannot, should and should not combine on your server.
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
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…

863 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now