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

Commit

Permalink
fix #6
Browse files Browse the repository at this point in the history
  • Loading branch information
Roman committed Jul 21, 2021
1 parent 5ac0c94 commit c4e13cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/DebloatFunctions.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ function RemoveOneDrive {
Get-ScheduledTask -TaskPath '\' -TaskName 'OneDrive*' -ea SilentlyContinue | Unregister-ScheduledTask -Confirm:$false

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

Write-Output "Waiting for explorer to complete loading"
Start-Sleep 10
Expand Down

0 comments on commit c4e13cb

Please sign in to comment.