Skip to content

Commit

Permalink
Update blockmousenkeyboard.ps1
Browse files Browse the repository at this point in the history
Signed-off-by: canarddu38 <[email protected]>
  • Loading branch information
canarddu38 authored Jan 29, 2024
1 parent c672fbb commit 870b93a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions api/scripts/blockmousenkeyboard.ps1
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# WARNING: THIS CODE CAN BREAK YOUR WINDOWS REGISTRY

#Run As Administrator
if (!([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole] "Administrator")) { Start-Process powershell.exe "-NoProfile -ExecutionPolicy Bypass -File `"$PSCommandPath`"" -Verb RunAs; exit }

Expand Down

0 comments on commit 870b93a

Please sign in to comment.