Skip to main content

CMD Line

7zip Command Line

Archive   7za a -tzip C:\Accent\temp2\archive2.zip H:\Downloads\SUU_14.12.200.69.iso -v10m    ...

Add user to Administrators Group

net localgroup administrators [username] /add    From <http://superuser.com/questions/515175/cr...

Choice Command

http://www.techrepublic.com/blog/window-on-windows/make-the-choice-command-work-for-you-even-in-w...

CMD Line Admin

CMD Line as ADMINISTRATOR  runas /user:%computername%\administrator cmd    device manager   s...

CMD Line Registry Delete

September 14, 1999 05:14 PM   How can I delete a registry value/key from the command line?  ...

Configure TCP/IP from the Command Prompt

  Save current settings  netsh -c interface dump > c:'location1.txt  When you reach location #...

DNS Change Via CMD Line

First find the network name by using:  netsh interface show interface    You should see someth...

Enable Remote Desktop Via Command Line

netsh advfirewall firewall set rule group="Network Discovery" new enable=yes    netsh advfirewa...

Hyper-V

netsh firewall set opmode disable    Pasted from <http://www.wantmoore.com/archives/2007/02/20/...

Invalid H:\ Drive

You receive an "Error " error message when you try to install or remove a Microso...

Network Share Folder

net share Docs=E:\Documents /grant:everyone,FULL    From <http://www.windows-commandline.com/li...

Remote GPResult

Cmd line that can be ran remotely.    gpresult /scope computer /v /user FKC\mpeak > %systemdriv...

Run Commands

In case you wanted to get a command line thrill today....    Useful RUN Commands   To Access…. ...

Test if Computer is Azure Joined

dsregcmd /status

Windows Activation Post Azurre Migration

From CMD Prompt slmgr /upk slmgr /cpkyslmgr /ckms slmgr /ckhcslmgr /ipk <License Key>slmgr /ato

Windows S.M.A.R.T Check

Open a command prompt as Admin wmic diskdrive get status

Check Installed Drive Type

wmic diskdrive get model,name,size

Check type of computer

Get-WmiObject -Class Win32_ComputerSystemProduct | Select-Object -ExpandProperty Name This will ...

Change power settings

Powercfg /Change monitor-timeout-ac 60 Powercfg /Change monitor-timeout-dc 0 Powercfg /Change s...