Browse Source

Update Win 10.ps1

pull/3/head
farag2 6 years ago
committed by GitHub
parent
commit
f5c29cd2b9
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      Win 10.ps1

4
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 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") [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 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("TMP", "$env:SystemDrive\Temp", "Process")
[Environment]::SetEnvironmentVariable("TEMP","$env:SystemDrive\Temp",'Process') [Environment]::SetEnvironmentVariable("TEMP", "$env:SystemDrive\Temp", "Process")
# Удалить UWP-приложения из текущей учетной записи, кроме # Удалить UWP-приложения из текущей учетной записи, кроме
$apps = @( $apps = @(
# iTunes # iTunes

Loading…
Cancel
Save