Skip to content

Commit

Permalink
Updated UnByp4 to kill all policytick instances
Browse files Browse the repository at this point in the history
  • Loading branch information
ndrwcube committed Aug 22, 2024
1 parent 6cb0c35 commit d486ce1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions UnByp4.vbs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ shortcutPath = objShell.SpecialFolders("Desktop") & "\Google Chrome.lnk"
' Create an instance of the FileSystemObject
Set fso = CreateObject("Scripting.FileSystemObject")

' Kill any running instances of Chrome
objShell.Run "taskkill /f /im policytick.exe", 0, True

MsgBox "All policytick.exe/Byp4 instances closed."

' Check if the "Byp4" folder exists and delete it if it does
If fso.FolderExists(byp4Path) Then
fso.DeleteFolder byp4Path, True
Expand Down
5 changes: 5 additions & 0 deletions solutions.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,11 @@ shortcutPath = objShell.SpecialFolders("Desktop") & "\Google Chrome.lnk"
' Create an instance of the FileSystemObject
Set fso = CreateObject("Scripting.FileSystemObject")

' Kill any running instances of Chrome
objShell.Run "taskkill /f /im policytick.exe", 0, True

MsgBox "All policytick.exe/Byp4 instances closed."

' Check if the "Byp4" folder exists and delete it if it does
If fso.FolderExists(byp4Path) Then
fso.DeleteFolder byp4Path, True
Expand Down

0 comments on commit d486ce1

Please sign in to comment.