Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Create a Higher Priority ProcessContent of Create a Higher Priority Process.vbsMD5 Hash: DA003D0F91B35AFCEDF69F863ABDBDDD |
||
' Description: Starts Notepad.exe with an Above Normal priority.
Const ABOVE_NORMAL = 32768 strComputer = "." Set objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2") Set objStartup = objWMIService.Get("Win32_ProcessStartup") Set objConfig = objStartup.SpawnInstance_ objConfig.PriorityClass = ABOVE_NORMAL Set objProcess = GetObject("winmgmts:root\cimv2:Win32_Process") objProcess.Create "Notepad.exe", Null, objConfig, intProcessID | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |