MRL WikiMain Page | About | Help | FAQ | Special pages | Log in

Printable version | Disclaimers | Privacy policy

Windows Command Line Tricks

From MRL Wiki

While Windows XP/2003 provide convenient GUI facilities for machine administration, it is often useful to be aware of equivalent command line alternatives.


[edit] User Management

[edit] Add User

Add new username with login 'alice' and password 'secret':

net user alice secret /add

[edit] Add User to a Group

Add username 'alice' to administrator group on a local machine:

net localgroup Administrators %username% /add

[edit] Windows Firewall

[edit] Open Port

Open TCP port 23 and label it 'telnet':

netsh firewall add portopening TCP 23 telnet

[edit] Server

[edit] Telnet Server

Enable and start Windows Telnet Server:

sc config TlntSvr start= auto
sc start TlntSvr

[edit] External Links

Retrieved from ""

This page has been accessed 3,969 times. This page was last modified on 7 January 2009, at 22:22.


Main Page
Community portal
Current events
Recent changes
Random page
Edit this page
Editing help
This page
Discuss this page
New section
Printable version
Page history
What links here
Related changes
My pages
Log in / create account
Special pages
New pages
File list