Friday, 30 October 2015

How to create an admin account in windows.

Step 1 Open CMD Prompt...
On Windows XP, click the Start button, then open up Run..., and type in "cmd" and click OK.

On Windows Vista or Windows 7, click Start, search for "cmd" and press Enter.

Step 2 Add username and password
Now, in the command prompt window, type:

net user /add [username] [password]

Press Enter. Here's an example of what it should look like:
Step 1 Open CMD Prompt...
On Windows XP, click the Start button, then open up Run..., and type in "cmd" and click OK.

On Windows Vista or Windows 7, click Start, search for "cmd" and press Enter.

Step 2 Add username and password
Now, in the command prompt window, type:

net user /add [username] [password]

Press Enter. Here's an example of what it should look like:



Step 3 Add as admin
Now type:

new localgroup administrators [username] /add

Press Enter. Here's the example:



Done!
You should now have a new Admin Account on your PC!


Step 3 Add as admin
Now type:

new localgroup administrators [username] /add

Press Enter. Here's the example:



Done!
You should now have a new Admin Account on your PC!

Sunday, 25 October 2015

How to Do a Remote Shutdown for a PC on a LAN

  1. Do a Remote Shutdown for a PC on a LAN Step 3

    1.Type in shutdown -m \\computername, replacing "computername" with the name of the computer you wish to shutdown or the computer's IP address.
  2. Do a Remote Shutdown for a PC on a LAN Step 4

    2.Experiment with the shutdown commands switches.
    • -r will force a restart, disabling any services or user interaction from interrupting it.
    • -c "comment" will force a comment to appear on the system being shutdown.
    • -t xx will force a timeout for "xx" seconds. For example, -t 60 would perform a shutdown after a 60-second timeout.
    • -a will abort the shutdown.
    • A full command example: shutdown -m \\myserver -r -c "This system will shutdown in 60 seconds" -t 6
      0
  3. Do a Remote Shutdown for a PC on a LAN Step 5

    3.Try another method:
    • Type shutdown -i in the run window.
    • Click the "Add" box and type the name of the computer you want to shutdown or its IP address. You can select what you want the computer to do.
    • In this mode, it's necessary to add a comment. Do so.
    • Press OK
      .

Saturday, 24 October 2015

CMD color codes

Sets the default console foreground and background colors.
Syntax
      COLOR [background][foreground]
Colors attributes are specified by 2 of the following hex digits. Each digit can be any of the following values:

0 = Black
8 = Gray

1 = Blue
9 = Light Blue

2 = Green
A = Light Green

3 = Aqua
B = Light Aqua

4 = Red
C = Light Red

5 = Purple
D = Light Purple

6 = Yellow
E = Light Yellow

7 = White
F = Bright White