-2
I am trying to add a key to all users on a computer, doing this by using Active Startup. But i get Syntax error because my keyname i want to add(FormSuggest Password) have a space between, any tips ?
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components\IECachedPassword" /v "Version" /d "1" /t REG_SZ /f
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components\IECachedPassword" /v "StubPath" /d "reg add HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main /v "FormSuggest Passwords" /d "no" /t REG_SZ /f" /f
If i try to write
FormSuggest_Passwords
I get no errors.
If i surround the subkey with quotation i get syntax error either way
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components\IECachedPassword" /v "StubPath" /d "reg add "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main" /v "FormSuggest Passwords" /d "no" /t REG_SZ /f" /f
I am trying disable internet explorer to suggest saving password. Windows 7 with IE11. Any help ?
Thanks, the backslash for escaping the quotation worked like a charm! – tommynh – 2015-09-16T06:09:50.670