File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -115,9 +115,11 @@ The script we will be using must be launched from the directory containing all t
115115
116116```
117117######SCRIPT FOR FULL INSTALL AND CONFIGURE ON STANDALONE MACHINE#####
118- ######SCRIPT FOR FULL INSTALL AND CONFIGURE ON STANDALONE MACHINE#####
119118$ErrorActionPreference= 'silentlycontinue'
120119
120+ Write-Output "Elevating priviledges for this process"
121+ do {} until (Elevate-Privileges SeTakeOwnershipPrivilege)
122+
121123#Unblock all files required for script
122124start-job -ScriptBlock {ls *.ps*1 -recurse | Unblock-File}
123125
@@ -155,6 +157,7 @@ start-script -ScriptBlock {Install-WindowsUpdate -MicrosoftUpdate -AcceptAll; Ge
155157.\Files\Scripts\"Debloating, Optimization, and Privacy"\startupcleantelem.ps1
156158.\Files\Scripts\"Debloating, Optimization, and Privacy"\sharpapp\sharpappscripts.ps1
157159.\Files\Scripts\"Debloating, Optimization, and Privacy"\debotnet\debotnetscripts.ps1
160+ .\Files\Scripts\"Debloating, Optimization, and Privacy"\W4H4Wk\sosw4h4wk.ps1
158161
159162#GPO Configurations
160163#Microsoft Security Baselines
Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ $ErrorActionPreference= 'silentlycontinue'
44Write-Output " Elevating priviledges for this process"
55do {} until (Elevate- Privileges SeTakeOwnershipPrivilege)
66
7-
87# Unblock all files required for script
98start-job - ScriptBlock {ls * .ps* 1 - recurse | Unblock-File }
109
You can’t perform that action at this time.
0 commit comments