From 8f4206c9af89e7cb8daecefbc31f99873da5a3f5 Mon Sep 17 00:00:00 2001 From: farag2 Date: Mon, 14 Jan 2019 02:11:08 +0300 Subject: [PATCH] Update Win 10.ps1 --- Win 10.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Win 10.ps1 b/Win 10.ps1 index 88a7e573..3a02c2ae 100644 --- a/Win 10.ps1 +++ b/Win 10.ps1 @@ -720,7 +720,7 @@ $regpath = 'Folder\Start.reg' | Get-FirstResolvedPath IF ($regpath) { 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 {