farag2
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
Win 10.ps1
|
@ -720,7 +720,7 @@ $regpath = 'Folder\Start.reg' | Get-FirstResolvedPath |
|
|
IF ($regpath) |
|
|
IF ($regpath) |
|
|
{ |
|
|
{ |
|
|
Remove-Item HKCU:\Software\Microsoft\Windows\CurrentVersion\CloudStore\Store\Cache\DefaultAccount -Recurse -Force |
|
|
Remove-Item HKCU:\Software\Microsoft\Windows\CurrentVersion\CloudStore\Store\Cache\DefaultAccount -Recurse -Force |
|
|
Start-Process reg.exe -ArgumentList 'import',"$regpath" |
|
|
Start-Process -FilePath reg.exe -ArgumentList 'import',"$regpath" |
|
|
} |
|
|
} |
|
|
Else |
|
|
Else |
|
|
{ |
|
|
{ |
|
|