File tree 1 file changed +13
-1
lines changed
1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,6 @@ $Boxstarter.AutoLogin=$true # Save my password securely and auto-login after a r
34
34
# --- Basic setup ---
35
35
Update-ExecutionPolicy - Policy RemoteSigned
36
36
Disable-UAC
37
- Enable-RemoteDesktop
38
37
choco feature enable - n= allowGlobalConfirmation
39
38
$ConfirmPreference = " None" # ensure installing powershell modules don't prompt on needed dependencies
40
39
@@ -939,6 +938,19 @@ Disable-WindowsOptionalFeature -Online -FeatureName "WindowsMediaPlayer" -NoRest
939
938
# See also:
940
939
# https://learn.microsoft.com/en-us/windows/application-management/remove-provisioned-apps-during-update
941
940
941
+ RefreshEnv
942
+
942
943
# ############################################
943
944
# Clean Up
944
945
# ############################################
946
+
947
+ # # set desktop wallpaper
948
+ # Invoke-WebRequest -Uri 'http://chocolateyfest.com/wp-content/uploads/2018/05/img-bg-front-page-header-NO_logo-opt.jpg' -Method Get -ContentType image/jpeg -OutFile 'C:\github\chocofest.jpg'
949
+ # Set-ItemProperty -path 'HKCU:\Control Panel\Desktop\' -name wallpaper -value 'C:\github\chocofest.jpg'
950
+ # rundll32.exe user32.dll, UpdatePerUserSystemParameters
951
+ # RefreshEnv
952
+
953
+ Write-Host " Cleaning Up..." - ForegroundColor " Yellow"
954
+ Enable-UAC
955
+ Enable-MicrosoftUpdate
956
+ Install-WindowsUpdate - acceptEula
You can’t perform that action at this time.
0 commit comments