Skip to content

Using Powershell to send an ENTER keystroke to the Kaseya prompt window

License

Notifications You must be signed in to change notification settings

Rampaigh/Bypass-Kaseya-Silent-Control

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Bypass Silent Control.ps1

Using Powershell to send an ENTER keystroke to the Kaseya prompt window

[System.Reflection.Assembly]::LoadWithPartialName('Microsoft.VisualBasic');
[Microsoft.VisualBasic.Interaction]::AppActivate('Kaseya Remote Control');
[System.Reflection.Assembly]::LoadWithPartialName('System.Windows.Forms');
[System.Windows.Forms.SendKeys]::SendWait('{ENTER}');

Run as Procedure

When running it as a procedure in Kaseya:

  • Use executeShellCommand
  • Run as User, not System
  • Use this as the command:
powershell -c "[System.Reflection.Assembly]::LoadWithPartialName('Microsoft.VisualBasic');[Microsoft.VisualBasic.Interaction]::AppActivate('Kaseya Remote Control');[System.Reflection.Assembly]::LoadWithPartialName('System.Windows.Forms');[System.Windows.Forms.SendKeys]::SendWait('{ENTER}');"

Releases

No releases published

Packages

No packages published