"Run on login" registry key not executing

0

I have the registry key HKLM\Software\Microsoft\Windows\CurrentVersion\Run set to put the dual monitors into clone mode whenever a user logs in.

The data value I have currently set is "C:\Windows\System32\DisplaySwitch.exe" /clone

I'm working in a Group Policy isolated environment and the computer will correctly go into clone mode when I log in with my account (Domain Admin), but logging in with the generic Domain User account will leave the monitors in extended mode. It's not a permissions issue, I can run the DisplaySwitch.exe /clone from the command line fine. There's also nothing in the login script that would (blatantly) disable the key.

Are there anything other possible reasons that this would be ignored during login?

FlyingVhee

Posted 2014-01-16T19:04:01.883

Reputation: 1

Why don't you just create a .bat file to make the modification when the user logs into their profile as scheduled task? – Ramhound – 2014-01-16T19:24:02.863

1Did you use Current\Version as written in your post or CurrentVersion which is correct? – Thomas Weller – 2014-01-16T19:42:42.297

Whoops, that was a typo on my part, I used the correct CurrentVersion. – FlyingVhee – 2014-01-16T19:49:30.810

If perhaps for some reason it's trying to reach the 64-bit part of the registry: HKLM\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Run? Also, for users, perhaps Windows is making the new domain-user profile from copying a template that doesn't include that? I know you said HKLM, but check to see (Google it) if your user-profile-template is a user who currently isn't working. – Wally – 2014-01-16T19:55:28.663

If you check with Autoruns http://technet.microsoft.com/de-de/sysinternals/bb963902.aspx, is your entry shown?

– Thomas Weller – 2014-01-16T20:37:45.890

Thomas, thanks for that program! It turns out that the "Group Policy free" environment wasn't quite free of it. There was an issue where it was booting in clone mode and causing a conflict between the registry command and the extended mode being set by the OU. I was able to solve the issue by saving the image in extended mode so the DisplaySwitch.exe would run regardless. – FlyingVhee – 2014-01-17T13:48:56.280

No answers