farag2
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
89 additions and
89 deletions
-
Win 10.ps1
|
|
@ -347,8 +347,8 @@ New-ItemProperty -Path HKCU:\Environment -Name TEMP -Type ExpandString -Value %S |
|
|
|
New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" -Name TMP -Type ExpandString -Value %SystemDrive%\Temp -Force |
|
|
|
[Environment]::SetEnvironmentVariable("TEMP", "$env:SystemDrive\Temp", "Machine") |
|
|
|
New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" -Name TEMP -Type ExpandString -Value %SystemDrive%\Temp -Force |
|
|
|
[Environment]::SetEnvironmentVariable("TMP","$env:SystemDrive\Temp",'Process') |
|
|
|
[Environment]::SetEnvironmentVariable("TEMP","$env:SystemDrive\Temp",'Process') |
|
|
|
[Environment]::SetEnvironmentVariable("TMP", "$env:SystemDrive\Temp", "Process") |
|
|
|
[Environment]::SetEnvironmentVariable("TEMP", "$env:SystemDrive\Temp", "Process") |
|
|
|
# Удалить UWP-приложения из текущей учетной записи, кроме |
|
|
|
$apps = @( |
|
|
|
# iTunes |
|
|
|