locked
Help with reg.exe RRS feed

  • Question

  • I need to create a batch file to modify the registry

    I found this one on the web and it works.

    reg.exe ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /t REG_DWORD /d 0 /f

    Changing 0 to 1 and back reflects in the registr. Just need to refresh

    This is the one i need to run that does not work.

    reg.exe ADD "HKLM\SOFTWARE\Wow6432Node\Splashtop Inc.\Splashtop Remote Server /v UnLockUI /t REG_DWORD /d 0" /f

    Initially I did not have the quotation marks and I kept getting a syntax error. " ERROR: Invalid syntax."

    Then I added the quotation marks after some web searching.I get a message " The operation completed successfully."  but the value does not change. I have tried it with and without space after the last Zero.  I suspect I have the quotation marks in the wrong place.

    Key exists and path is correct

    Thoughts appreciated

    Thanks

    Ashwin
    Lansend.com

    Monday, March 26, 2018 6:26 PM

Answers

  • Hi,

    It has to be

    reg.exe ADD "HKLM\SOFTWARE\Wow6432Node\Splashtop Inc.\Splashtop Remote Server" /v UnLockUI /t REG_DWORD /d 0 /f

    Thanks

    Syed


    Dont forget to mark as Answered if you found this post helpful.

    • Marked as answer by Lansend Monday, March 26, 2018 6:34 PM
    Monday, March 26, 2018 6:31 PM

All replies

  • Hi,

    It has to be

    reg.exe ADD "HKLM\SOFTWARE\Wow6432Node\Splashtop Inc.\Splashtop Remote Server" /v UnLockUI /t REG_DWORD /d 0 /f

    Thanks

    Syed


    Dont forget to mark as Answered if you found this post helpful.

    • Marked as answer by Lansend Monday, March 26, 2018 6:34 PM
    Monday, March 26, 2018 6:31 PM
  • Thanks , that worked.

    Appreciate it

    Monday, March 26, 2018 6:34 PM