TAKEOWN – Windows CMD Command
Take ownership of a file (Windows 2003/7/2008). Syntax TAKEOWN [/s Computer [/u [Domain\]UserName [/p [Password]]]] /f FileName [/a] [/r [/d {Y|N}]] Key /s Computer The name or IP address of a remote computer (do...
Take ownership of a file (Windows 2003/7/2008). Syntax TAKEOWN [/s Computer [/u [Domain\]UserName [/p [Password]]]] /f FileName [/a] [/r [/d {Y|N}]] Key /s Computer The name or IP address of a remote computer (do...
List system configuration. Syntax SYSTEMINFO [/S system [/U username [/P [password]]] ] [/FO format] [/NH] Key: /S system Remote system to connect to. /U [domain\]user User context under which to execute. /P [password] Password...
System Monitor – monitor and log system activity to the Windows event log. By monitoring process creation, network connections, and file changes with SysMon, you can identify malicious or anomalous activity on a network....
Substitute a drive letter for a network or local path. Syntax SUBST drive_letter: path SUBST SUBST drive_letter: /D Key SUBST with no parameters will display current SUBST drives /D : Delete the drive_letter substitution....
Display or modify Access Control Entries (ACEs) for file and folder Permissions, Ownership and Domain. Access Control Lists apply only to files stored on an NTFS formatted drive, each ACL determines which users (or...
Search for ANSI and UNICODE strings in binary files. Syntax strings [-a] [-f offset] [-b bytes] [-n length] [-o] [-q] [-s] [-u] file_or_directory Key -a Ascii-only search (Unicode and Ascii is default) -b Bytes...
Start a program, command or batch script (opens in a new window.) Syntax START “title” [/D path] [options] “command” [parameters] Key: title Text for the CMD window title bar (required.) path Starting directory. command...
Sort will accept a redirected or piped file input and TYPE the file, sorted line by line. /+n : Sort the file ignoring the first one or more characters in each row.The default (/+1)...
Software Licensing Management Tool. Windows Activation and Key Management Service (KMS) Syntax slmgr [MachineName [Username Password]] [Option] Key machinename The machine to administer, by default the current local machine. username An administrator...
Delay execution for a few seconds/minutes (for use within a batch file.) Syntax SLEEP time Key time The number of seconds to pause ExamplePause for 10 seconds before running the next command in a...