Closed majkinetor closed 7 years ago
Disabling Windows Defender Services sp : Attempted to perform an unauthorized operation. At C:\Work\_\Debloat-Windows-10\scripts\disable-windows-defender.ps1:37 char:1 + sp "HKLM:\SYSTEM\CurrentControlSet\Services\WinDefend" "Start" 4 + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : PermissionDenied: (Start:String) [Set-ItemProperty], UnauthorizedAccessException + FullyQualifiedErrorId : System.UnauthorizedAccessException,Microsoft.PowerShell.Commands.SetItemPropertyCommand sp : Attempted to perform an unauthorized operation. At C:\Work\_\Debloat-Windows-10\scripts\disable-windows-defender.ps1:38 char:1 + sp "HKLM:\SYSTEM\CurrentControlSet\Services\WinDefend" "AutorunsDisab ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : PermissionDenied: (AutorunsDisabled:String) [Set-ItemProperty], UnauthorizedAccessException + FullyQualifiedErrorId : System.UnauthorizedAccessException,Microsoft.PowerShell.Commands.SetItemPropertyCommand sp : Attempted to perform an unauthorized operation. At C:\Work\_\Debloat-Windows-10\scripts\disable-windows-defender.ps1:39 char:1 + sp "HKLM:\SYSTEM\CurrentControlSet\Services\WdNisSvc" "Start" 4 + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : PermissionDenied: (Start:String) [Set-ItemProperty], UnauthorizedAccessException + FullyQualifiedErrorId : System.UnauthorizedAccessException,Microsoft.PowerShell.Commands.SetItemPropertyCommand sp : Attempted to perform an unauthorized operation. At C:\Work\_\Debloat-Windows-10\scripts\disable-windows-defender.ps1:40 char:1 + sp "HKLM:\SYSTEM\CurrentControlSet\Services\WdNisSvc" "AutorunsDisabl ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : PermissionDenied: (AutorunsDisabled:String) [Set-ItemProperty], UnauthorizedAccessException + FullyQualifiedErrorId : System.UnauthorizedAccessException,Microsoft.PowerShell.Commands.SetItemPropertyCommand
Also
Disable submission of Windows Defender findings (w/ elevated privileges) sp : Attempted to perform an unauthorized operation. At C:\Work\_\Debloat-Windows-10\scripts\fix-privacy-settings.ps1:92 char:1 + sp "HKLM:\SOFTWARE\Microsoft\Windows Defender\Spynet" "SpyNetReportin ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : PermissionDenied: (SpyNetReporting:String) [Set-ItemProperty], UnauthorizedAccessException + FullyQualifiedErrorId : System.UnauthorizedAccessException,Microsoft.PowerShell.Commands.SetItemPropertyCommand
System info:
Host Name: DESKTOP-9Q3PK5G OS Name: Microsoft Windows 10 Pro OS Version: 10.0.15063 N/A Build 15063 OS Manufacturer: Microsoft Corporation OS Configuration: Standalone Workstation OS Build Type: Multiprocessor Free Registered Owner: N/A Registered Organization: N/A Product ID: 00330-50441-20864-AAOEM Original Install Date: 6/6/2017, 8:58:08 PM System Boot Time: 6/6/2017, 9:23:42 PM System Manufacturer: Dell Inc. System Model: Latitude E5570 System Type: x64-based PC Processor(s): 1 Processor(s) Installed. [01]: Intel64 Family 6 Model 94 Stepping 3 GenuineIntel ~2701 Mhz BIOS Version: Dell Inc. 1.14.4, 5/12/2017 Windows Directory: C:\WINDOWS System Directory: C:\WINDOWS\system32 Boot Device: \Device\HarddiskVolume1 System Locale: en-us;English (United States) Input Locale: en-us;English (United States) Time Zone: (UTC+01:00) Belgrade, Bratislava, Budapest, Ljubljana, Prague Total Physical Memory: 16,279 MB Available Physical Memory: 11,379 MB Virtual Memory: Max Size: 19,223 MB Virtual Memory: Available: 14,087 MB Virtual Memory: In Use: 5,136 MB Page File Location(s): C:\pagefile.sys Domain: WORKGROUP Logon Server: \\DESKTOP-9Q3PK5G Hotfix(s): 2 Hotfix(s) Installed. [01]: KB4020821 [02]: KB4020102 Network Card(s): 3 NIC(s) Installed. [01]: Intel(R) Ethernet Connection (2) I219-LM Connection Name: Ethernet Status: Media disconnected [02]: Intel(R) Dual Band Wireless-AC 8260 Connection Name: Wi-Fi DHCP Enabled: Yes DHCP Server: 192.168.2.1 IP address(es) [01]: 192.168.2.144 [02]: fe80::181:a3f7:877c:b70a [03]: Bluetooth Device (Personal Area Network) Connection Name: Bluetooth Network Connection Status: Media disconnected Hyper-V Requirements: VM Monitor Mode Extensions: Yes Virtualization Enabled In Firmware: Yes Second Level Address Translation: Yes Data Execution Prevention Available: Yes
Sorry, didn't see a note in the start of the script that it has to be repeated.
Also
System info: