Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a user in Active Directory who uses this setting in the Environment tab:

Start the following program at logon:
"C:\Program Files\PName\Folder\gui.exe"

This runs okay on various computers (that are on the domain) including his own. But the user needs to RDP into a Windows Server which does not have this program (which is normal).

When the user RDPs into the server and logs in with the AD account, an error occurs about C:\Program Files\PName\Folder\gui.exe missing and the user then gets stuck at a grey screen.

The user needs to RDP into this server; how can one blacklist that Environment setting from activation on a specific machine on the domain?

share|improve this question
up vote 1 down vote accepted

Create a new GPO that disallow login scripts from running and apply it to your AD Server objects.

share|improve this answer
I only need to disallow this login script on this specific user and no one else. Will this do that? – JBurace Jun 7 '12 at 16:14
You could create a User GPO, then create an AD OU for the user and RDP servers and apply the GPO on that OU. – jfalcon Jun 7 '12 at 17:58

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.