fix default printer management
This commit is contained in:
5
PS/pDisablePrinterMan.ps1
Normal file
5
PS/pDisablePrinterMan.ps1
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
|
||||||
|
If (!(Test-Path "HKCU:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Windows")) {
|
||||||
|
New-Item -Path "HKCU:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Windows" | Out-Null }
|
||||||
|
Set-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Windows" -Name "LegacyDefaultPrinterMode" -Type DWord -Value 1
|
||||||
|
|
||||||
Reference in New Issue
Block a user