Run an executable file from domain on all client machines

5 pts.
Tags:
Domain Controller
File
Group Policy
Hi all.... I have made some modification in the registry file to display the logon banner on my entire network.Now, the requirement is to double click this file on every client machine in order for the policy to take its effect.So, I wanted to know is there any way that my .reg file which is available on my DC gets automatically executed on my client machine once.

Answer Wiki

Thanks. We'll let you know when a new response is added.

Create a .reg file that inserts the program you want to be run in the RunOnce section of the registry.

You can set a Group Policy that forces a file to be run, when the user logs into the domain. On your Domain Controller, go into ADUC. Right click the domain, click Properties. Go to the Group Policy Tab.

If there is a button that says Open here, click it, then under the domain, right click the Default Domain Policy and click Edit. If you dont see the Open button, then you should see Default Domain Policy, click it and click Edit. Microsoft has done this in several ways, so I dont know what you will see here.

Under User Configuration-Administrative Templates-System-Logon, you will see a policy that says ‘Run this program when a user logs on’, and put in the .reg file that inserts the RunOnce command you created above.

User needs to reboot twice for your app to become active…first time inserts the .reg command…second time executes the .reg command.

————————-

Why not use a group policy to push out the banner? There are group policy objects to display the logon banner.

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following