I'd like to change the Lockscreen over the Registry and a Powershell Script.
The Problem is that New-Item -Path HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\PersonalizationCSP
doesn't work. I can create the Key manually in the Registry. Is the command wrong?
EDIT: I dont get Errors using the command and I'm running this as an Administrator
Thanks for helpin!
You are running from a Windows Powershell (x86) prompt which is 32-bit. This means the key is created under the WOW6432Node
key: HKLM:\\SOFTWARE\\WOW6432Node\\Microsoft\\Windows\\CurrentVersion\\PersonalizationCSP
Make sure you use the 64-bit PowerShell version.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.