Runonce RunDll32.exe InetCpl.cpl,ResetIEtoDefaults not running when RDS session has a start program

Here is my scenerio.

2008R2 as RDS Host

GPO-A: used to start an application.  Created GPO-B to add registry key Hkey_Current_user\Software\Microsoft\Windows\CurrentVersion\Runonce to run RunDll32.exe InetCpl.cpl,ResetIEtoDefaults with Common set to Apply once and do not reapply.  Needed to reset IE back to factory settings.

My problem is the start program starts but the Runonce doesn't apply until I present the user with a desktop at which point I get the IE Rest dialog.

Any way to get the Runonce GPO to run within the session without a desktop?

August 27th, 2015 2:30pm

Hi Chad,

My problem is the start program starts but the Runonce doesn't apply until I present the user with a desktop at which point I get the IE Rest dialog.

By present the user with a desktop, do you mean users see the remote desktop?

Any way to get the Runonce GPO to run within the session without a desktop?

We can use these two registry keys below to run services in the background when the logon dialog box first appears:

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\ RunServices

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\ RunServicesOnce

More information for you:

Definition of the RunOnce Keys in the Registry

https://support.microsoft.com/en-us/kb/137367

INFO: Run, RunOnce, RunServices, RunServicesOnce and Startup

https://support.microsoft.com/en-us/kb/179365

Best Regards,

Amy

Free Windows Admin Tool Kit Click here and download it now
August 31st, 2015 3:15am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics