Windows 10 How to change registry value

  • Thread starter Thread starter Maksvell134
  • Start date Start date
M

Maksvell134

Guest
Hello!

I'm trying to change registry value:

Set-ItemProperty -Path "HKML\SOFTWARE\Policies\Microsoft\Windows\Safer\CodeIdentifiers" -Name "DefaultLevel" -Value 00040000


But getting error

Set-ItemProperty : Cannot find path 'HKLM:\SOFTWARE\Microsoft\Windows\Safer\CodeIdentifiers' because it does not exist.
At line:1 char:1
+ Set-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\Windows\Safer\CodeId ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (HKLM:\SOFTWARE\...CodeIdentifiers:String) [Set-ItemProperty], ItemNotFoundException
+ FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.SetItemPropertyCommand

In the same time I see that DefaultLevel exist

Hive: HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Safer


Name Property
---- --------
CodeIdentifiers DefaultLevel : 0
TransparentEnabled : 1
PolicyScope : 1
ExecutableTypes : {ADE, ADP, BAS, BAT...}
AuthenticodeEnabled : 0


Can someone help me to figure out where I'm wrong?

More...
 
Back
Top