{
	"id": "b4cb9cdc-77ce-404f-b152-734baeabcb3f",
	"created_at": "2026-04-06T03:35:39.1978Z",
	"updated_at": "2026-04-10T03:21:23.983958Z",
	"deleted_at": null,
	"sha1_hash": "c27f9385c06a6bbb8b5824cd9f344665e185c149",
	"title": "ScriptRunner - Windows CMD - SS64",
	"llm_title": "",
	"authors": "",
	"file_creation_date": "0001-01-01T00:00:00Z",
	"file_modification_date": "0001-01-01T00:00:00Z",
	"file_size": 56933,
	"plain_text": "ScriptRunner - Windows CMD - SS64\r\nArchived: 2026-04-06 02:59:12 UTC\r\nSS64\r\nCMD\r\nHow-to\r\nRun one or more scripts in sequence. Supplied with Windows 10 (1607+).\r\nSyntax\r\n ScriptRunner\r\n -appvscript scriptFileName [Arguments]\r\n [-appvscriptRunnerParameters [-wait] [-timeout=TimeInSeconds] [-rollbackOnError]]\r\n -appvscript scriptFileName [Arguments]\r\n [-appvscriptRunnerParameters [-wait] [-timeout=TimeInSeconds] [-rollbackOnError]]\r\n ...\r\nKey\r\n -appvscript The script to be executed: PowerShell (.ps1), VBScript (.vbs), executable(.exe), Batc\r\n Multiple scripts may be run by including multiple -appvscript options.\r\n ScriptRunner will run any script whose file type is associated with an application in\r\n on the computer.\r\n If the associated application is missing, or the script’s file type isn’t associated\r\n of the computer’s applications, the script won’t run.\r\n An alternative is to call powershell.exe or CMD.exe and pass the script name as an a\r\n Arguments Any arguments for the script being run.\r\n -appvscriptRunnerParameters\r\n -wait Wait for this script to complete before continuing.\r\n -timeout Timeout after TimeInSeconds seconds and continue.\r\n -rollbackOnError Rollback if the script exits with a non zero exit code.\r\n If -rollbackOnError is set, then by implication -wait will also be True.\r\nDefault values for -appvscriptRunnerParameters: No wait, No timeout, No rollback on error.\r\nEvery parameter must be separated by a space character.\r\nThe rollback on error is limited in its effect, if the script creates a new output file, then rollback will delete the\r\nfile, but if the script updates or replaces an existing file then rollback will not revert those changes.\r\nIf a ScriptRunner command contains more than one -appvscript clause, then rollback on error may fail to work\r\nfor either script.\r\nhttps://ss64.com/nt/scriptrunner.html\r\nPage 1 of 2\n\nYou can use ScriptRunner in DeploymentConfig.xml, UserConfig.xml and AppxManifest.xml files (all trigger\nevents).\nExamples\nDemonstrate the timeout by running a pause command:\nScriptRunner.exe -appvscript cmd \"/c\" \"pause\" -appvscriptrunnerparameters -wait -timeout=20\nRun two scripts passing parameters to each (this is all one line):\nScriptRunner.exe -appvscript demoA.cmd arg1 arg2 -appvscriptrunnerparameters -wait -timeout=30 -\nrollbackonerror -appvscript demoB.ps1 arg3 arg4 -appvscriptrunnerparameters -wait -timeout=30 -\nrollbackonerror\nIn XML:\nScriptRunner.exe\u003e/Path\u003e -appvscript script1.exe arg1 arg2 –appvscriptrunnerparameters –wait –timeout=10\n -appvscript script2.vbs arg1 arg2\n -appvscript script3.cmd arg1 arg2 –appvscriptrunnerparameters –wait –timeout=30 –rollbackonerror “He can run. But he can’t hide” ~ Joe Louis, 1946\nRelated commands\nSTART - Start a program, command or batch file.\nRun a script - How to create and run a batch file.\nEquivalent PowerShell: Run a script How to run a .ps1 script by calling PowerShell.exe\nEquivalent bash command (Linux): Run a bash shell script\nCopyright © 1999-2026 SS64.com\nSome rights reserved\nSource: https://ss64.com/nt/scriptrunner.html\nhttps://ss64.com/nt/scriptrunner.html\nPage 2 of 2",
	"extraction_quality": 1,
	"language": "EN",
	"sources": [
		"MITRE"
	],
	"references": [
		"https://ss64.com/nt/scriptrunner.html"
	],
	"report_names": [
		"scriptrunner.html"
	],
	"threat_actors": [],
	"ts_created_at": 1775446539,
	"ts_updated_at": 1775791283,
	"ts_creation_date": 0,
	"ts_modification_date": 0,
	"files": {
		"pdf": "https://archive.orkl.eu/c27f9385c06a6bbb8b5824cd9f344665e185c149.pdf",
		"text": "https://archive.orkl.eu/c27f9385c06a6bbb8b5824cd9f344665e185c149.txt",
		"img": "https://archive.orkl.eu/c27f9385c06a6bbb8b5824cd9f344665e185c149.jpg"
	}
}