File tree 4 files changed +11
-2
lines changed
4 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -293,14 +293,16 @@ Begin
293
293
Set-ItemProperty ' HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Sensor\Overrides\{BFA794E4-F964-4FDB-90F6-51056BFE4B44}' - Name ' SensorPermissionState' - Type DWord - Value 0
294
294
Set-ItemProperty ' HKLM:\SYSTEM\CurrentControlSet\Services\lfsvc\Service\Configuration' - Name ' Status' - Type DWord - Value 0
295
295
296
- # DisableFeedback
296
+ # DisableFeedback and ComptTelRunner.exe
297
297
Write-Verbose ' disabling feedback'
298
298
$0 = ' HKCU:\SOFTWARE\Microsoft\Siuf\Rules'
299
299
If (! (Test-Path $0 )) { New-Item - Path $0 - Force | Out-Null }
300
300
Set-ItemProperty $0 - Name ' NumberOfSIUFInPeriod' - Type DWord - Value 0
301
301
Set-ItemProperty ' HKLM:\SOFTWARE\Policies\Microsoft\Windows\DataCollection' - Name ' DoNotShowFeedbackNotifications' - Type DWord - Value 1
302
+ Set-ItemProperty ' HKLM:\SOFTWARE\Policies\Microsoft\Windows\DataCollection' - Name ' Allow Telemetry' - Type DWord - Value 0
302
303
Disable-ScheduledTask - TaskName ' Microsoft\Windows\Feedback\Siuf\DmClient' - ErrorAction SilentlyContinue | Out-Null
303
304
Disable-ScheduledTask - TaskName ' Microsoft\Windows\Feedback\Siuf\DmClientOnScenarioDownload' - ErrorAction SilentlyContinue | Out-Null
305
+ Disable-ScheduledTask - TaskName ' Microsoft\Windows\Application Experience\Microsoft Compatibility Appraiser' - ErrorAction SilentlyContinue | Out-Null
304
306
305
307
# DisableTailoredExperiences
306
308
Write-Verbose ' disabling tailored experiences'
Original file line number Diff line number Diff line change @@ -527,6 +527,7 @@ Begin
527
527
{
528
528
[CmdletBinding (HelpURI = ' manualcmd' )] param ()
529
529
Chocolatize ' 7zip'
530
+ Chocolatize ' curl'
530
531
Chocolatize ' git'
531
532
Chocolatize ' googlechrome'
532
533
Chocolatize ' greenshot'
Original file line number Diff line number Diff line change @@ -29,6 +29,10 @@ New-Alias cc Show-ColorizedContent
29
29
. $PSScriptRoot \Modules\Scripts\Set-OutDefaultOverride.ps1
30
30
Set-Alias ls Get-ChildItemColorized - Force - Option AllScope
31
31
32
+ # curl.exe is installed as a choco package to \system32
33
+ # so need to remove Invoke-WebRequest alis
34
+ Remove-Item alias:curl
35
+
32
36
function Start-Wilma { & ' C:\Program Files\Tools\WiLMa\WinLayoutManager.exe' }
33
37
New-Alias wilma Start-Wilma
34
38
@@ -59,7 +63,8 @@ if (Test-Path($ChocolateyProfile)) {
59
63
$cmd = (gwmi win32_process - filter (" ProcessID={0}" -f (gwmi win32_process - filter " ProcessID=$PID " ).ParentProcessID)).CommandLine
60
64
if ($cmd -notmatch ' cmd\.exe' )
61
65
{
62
- if (Test-Path ' C:\Code' ) { Set-Location ' C:\Code' ; }
66
+ if (Test-Path ' C:\Github' ) { Set-Location ' C:\Github' ; }
67
+ elseif (Test-Path ' C:\Code' ) { Set-Location ' C:\Code' ; }
63
68
elseif (Test-Path ' D:\Code' ) { Set-Location ' D:\Code' ; }
64
69
elseif (Test-Path ' C:\River' ) { Set-Location ' C:\River' ; }
65
70
else { Set-Location ' \' ; }
Original file line number Diff line number Diff line change @@ -285,6 +285,7 @@ Default applications:
285
285
* Angular (_ specific version_ )
286
286
* AWSCli
287
287
* BareTail Free (_ installed to C:\tools_ ) [ from S3]
288
+ * Curl
288
289
* Docker Desktop
289
290
* Git
290
291
* Google Chrome
You can’t perform that action at this time.
0 commit comments