Starts Notepad.exe with an Above Normal priority.
Const ABOVE_NORMAL = 32768strComputer = "."Set objWMIService = GetObject("winmgmts:" _& "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")Set objStartup = objWMIService.Get("Win32_ProcessStartup")Set objConfig = objStartup.SpawnInstance_objConfig.PriorityClass = ABOVE_NORMALSet objProcess = GetObject("winmgmts:root\cimv2:Win32_Process")objProcess.Create "Notepad.exe", Null, objConfig, intProcessID
This is a VB Script, this can be used by saving the file in .vbs file