Skip to content
This repository was archived by the owner on Jan 10, 2024. It is now read-only.

Commit c4e13cb

Browse files
author
Roman
committed
fix #6
1 parent 5ac0c94 commit c4e13cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/DebloatFunctions.psm1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ function RemoveOneDrive {
259259
Get-ScheduledTask -TaskPath '\' -TaskName 'OneDrive*' -ea SilentlyContinue | Unregister-ScheduledTask -Confirm:$false
260260

261261
Write-Output "Restarting explorer"
262-
Start-Process "explorer.exe"
262+
cmd.exe /c 'start "" "%windir%\explorer.exe"'
263263

264264
Write-Output "Waiting for explorer to complete loading"
265265
Start-Sleep 10

0 commit comments

Comments
 (0)