Solved

GPO Computer Policy, firewall policy for user application

Posted on 2014-02-02
1
339 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
Comment Utility
%localappdata%\app\app.exe

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

You need to append app folder

Mahesh
0

Featured Post

The problems with reply email signatures

Do you wish that you could place an email signature under a reply? Well, unfortunately, you can't. That great Exchange/Office 365 signature you've created will just appear at the bottom of an email chain. What a pain! Is there really no way to solve this? Well, there might be...

Join & Write a Comment

This is a little timesaver I have been using for setting up Microsoft Small Business Server (SBS) in the simplest possible way. It may not be appropriate for every customer. However, when you get a situation where the person who owns the server is i…
A common practice in small networks is making file sharing easy which works extremely well when intra-network security is not an issue. In essence, everyone, that is "Everyone", is given access to all of the shared files - often the entire C: drive …
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…
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). …

763 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

11 Experts available now in Live!

Get 1:1 Help Now