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.

Contents

[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 "http://midnightresearch.com/wiki/index.php/Windows_Command_Line_Tricks"

This page has been accessed 799 times. This page was last modified on 24 June 2007, at 05:54.


Find

Browse
Main Page
Community portal
Current events
Recent changes
Random page
Help
Edit
Edit this page
Editing help
This page
Discuss this page
Post a comment
Printable version
Context
Page history
What links here
Related changes
My pages
Log in / create account
Special pages
New pages
File list
Statistics
Bug reports
More...