Start with a free account
Register once for two complete sample scripts on each scripting site. No card required. Annual membership is coming soon for the remaining library.
Create your free account or sign in →YOUR DAILY SUPPORT WORKBENCH
Find the task. Tailor the script. Keep your work.
18 distinct scripts · Search by task, subject or library · Windows 10/11 and Windows Server · cmd.exe
Register once for two complete sample scripts on each scripting site. No card required. Annual membership is coming soon for the remaining library.
Create your free account or sign in →SEARCH → TAILOR → REVIEW → COPY
TAILOR TO YOUR ENVIRONMENT
Choose checks for the edited text. This page does not run your code.
UNDERSTAND WHAT YOU RUN
Batch files use cmd.exe and built-in Windows utilities. Save as .bat. PowerShell and Bash use different syntax; do not paste these into those shells.
cmd /d /v:off /c script.bat
Use the environment fields for ordinary local paths. Shell metacharacters are rejected in fields. Manual editing bypasses these checks, so review edited code before running.
certutil -hashfile "C:\Temp\example.txt" SHA256
There is no general parse-only check for Batch. Test against disposable files. FC returns 0 for equal files and 1 for different files; FINDSTR returns 1 when no match exists.
rem Review each command reference before execution.
Run as a normal user first. Some event, policy and encryption checks need additional authorised access. Output may contain account names, paths and IP addresses.
rem This browser never runs your Windows commands.
YOUR LOCAL WORKSPACE
Saved in this browser only. Export before clearing browser data. Do not store credentials or confidential customer data.
BROWSE THE LIBRARY
Browse 18 distinct tasks. Two designated samples are available to registered free accounts; the remaining scripts are reserved for membership, which is coming soon.
Check the Windows command processor version. Inspect only an authorised computer. Output can include local paths, account or network details; review before sharing.
ver · Windows 10/11 and Windows Server · cmd.exeInspect installed driver details. Inspect only an authorised computer. Output can include local paths, account or network details; review before sharing.
driverquery · Windows 10/11 and Windows Server · cmd.exeInspect network adapter IP configuration. Inspect only an authorised computer. Output can include local paths, account or network details; review before sharing.
ipconfig · Windows 10/11 and Windows Server · cmd.exeInspect the local DNS resolver cache. Inspect only an authorised computer. Output can include local paths, account or network details; review before sharing.
ipconfig · Windows 10/11 and Windows Server · cmd.exeInspect the IPv4 and IPv6 routing tables. Inspect only an authorised computer. Output can include local paths, account or network details; review before sharing.
route · Windows 10/11 and Windows Server · cmd.exeInspect cached local network neighbour addresses. Inspect only an authorised computer. Output can include local paths, account or network details; review before sharing.
arp · Windows 10/11 and Windows Server · cmd.exeFind listening ports and owning process IDs. Inspect only an authorised computer. Output can include local paths, account or network details; review before sharing.
netstat · Windows 10/11 and Windows Server · cmd.exeMap running processes to Windows services. Inspect only an authorised computer. Output can include local paths, account or network details; review before sharing.
tasklist · Windows 10/11 and Windows Server · cmd.exeList installed service states. Inspect only an authorised computer. Output can include local paths, account or network details; review before sharing. If SC reports a larger buffer is needed, repeat with its reported bufsize and resume index.
sc · Windows 10/11 and Windows Server · cmd.exeInspect scheduled task definitions. Inspect only an authorised computer. Output can include local paths, account or network details; review before sharing.
schtasks · Windows 10/11 and Windows Server · cmd.exeCalculate a file SHA256 checksum. Inspect only an authorised computer. Output can include local paths, account or network details; review before sharing.
certutil · Windows 10/11 and Windows Server · cmd.exeCompare two files byte for byte. Inspect only an authorised computer. Output can include local paths, account or network details; review before sharing. Exit 0 means identical, 1 different, 2 an error. Differences may reveal file contents.
fc · Windows 10/11 and Windows Server · cmd.exeFind error lines in a text log. Inspect only an authorised computer. Output can include local paths, account or network details; review before sharing.
findstr · Windows 10/11 and Windows Server · cmd.exeRead the five latest System events. Inspect only an authorised computer. Output can include local paths, account or network details; review before sharing.
wevtutil · Windows 10/11 and Windows Server · cmd.exeInspect applied Group Policy results. Inspect only an authorised computer. Output can include local paths, account or network details; review before sharing.
gpresult · Windows 10/11 and Windows Server · cmd.exeCheck BitLocker volume protection status. Inspect only an authorised computer. Output can include local paths, account or network details; review before sharing.
manage-bde · Windows 10/11 and Windows Server · cmd.exeDiagnose time synchronisation using the local Windows Time service. Requires authorised elevation on systems that restrict the query.
w32tm · Windows 10/11 or Windows Server · cmd.exeInspect WinRE enablement and registered image location before planned maintenance. Run from an authorised elevated command prompt; does not enable or modify recovery.
reagentc · Windows 10/11 or Windows Server · cmd.exeBatch uses cmd.exe. Review paths and exit codes, then test on disposable files. Nothing runs in this page.
Official documentation ↗Guidance reviewed 11 October 2026. Script results still depend on permissions, installed versions and your environment.
SUPPORT PLAYBOOK
Use small Batch diagnostics when cmd.exe is the available support environment.