Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Create a Process in a Hidden WindowContent of Create a Process in a Hidden Window.vbsMD5 Hash: F2CC5D4F0E6AF34688EF6A7F95779112 |
||
' Description: Starts Notepad.exe on the local computer, but in a hidden window.
Const HIDDEN_WINDOW = 12 strComputer = "." Set objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2") Set objStartup = objWMIService.Get("Win32_ProcessStartup") Set objConfig = objStartup.SpawnInstance_ objConfig.ShowWindow = HIDDEN_WINDOW Set objProcess = GetObject("winmgmts:root\cimv2:Win32_Process") errReturn = objProcess.Create("Notepad.exe", null, objConfig, intProcessID) | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |