Forum Discussion

Blur's avatar
Blur
Contributor
9 years ago
Solved

Distributed testing - failed verification

I've noticed that when I try to connect to the 3 virutal machines from TestComplete that they would fail to verify.  It appears to be the group policy at the start where I have to confirm that I unde...
  • mtsmith's avatar
    9 years ago

    One way around it is to use a start up script the sets the notice and consent prompt behavior. This way, the admins get to keep there policy and you're not bothered with it.

     

    You'll need a bat file that contains the following

    regedit.exe /s C:\YOURDirectory\YOURStartUp.reg

     

    Where YOURStartUp.reg contains:

    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System]
    "ConsentPromptBehaviorAdmin"=dword:00000000
    "ConsentPromptBehaviorUser"=dword:00000000
    "EnableLUA"=dword:00000000
    "legalnoticecaption"=-
    "legalnoticetext"=-

     

     

    You can get to the startscripts by typing gpedit.msc in the run box and then choosing--> Local Computer Policy --> Windows Settings --> Scripts (Startup/Shutdow)