Skip to content

Commit 6321515

Browse files
Update
1 parent 5549930 commit 6321515

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff 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
122124
start-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

installallstandalone.ps1

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ $ErrorActionPreference= 'silentlycontinue'
44
Write-Output "Elevating priviledges for this process"
55
do {} until (Elevate-Privileges SeTakeOwnershipPrivilege)
66

7-
87
#Unblock all files required for script
98
start-job -ScriptBlock {ls *.ps*1 -recurse | Unblock-File}
109

0 commit comments

Comments
 (0)