Showing posts with label Command Prompt Tricks. Show all posts
Showing posts with label Command Prompt Tricks. Show all posts

Sunday, October 23, 2011

Change XP user's password,even if you are not an admin.




GO to RUN->Type CMD. Now Type:net user .
A list with all the accounts name will be shown.Now type
net user accountname * e.g. net user peter *
Now enter the password.The password of user peter is now changed. :D

Remotely Shutdown other user's computer who are connected in the same network.

Go to RUN -> CMD
Type: shutdown -i. A remote shutdown window will appear.Now enter the usernames in the box.You can directly add or browse the user names.
Choose the appropriate choice from the list i.e shutdown,restart or in appropriate shutdown.Click OK


Note:According to my experience,this will not work in the networks where there are network administrators. I have tried this in my college network and failed.
But it works in the home and office networks.Try it and let me know if anything works for you.

Sunday, October 16, 2011

Watch starwars in command prompt.

Go to:
1.Run type cmd.
2.Type: "telnet towel.blinkenlights.nl" without quotes.
Wait for sometime then it will kick off. Enjoy watching. :D




Note:Internet Connection is required. If you are using windows 7 then you have to enable Telnet manually.

Go To: Control Panel-->Programs and features-->On the left panel click on "Turn Windows feature On or Off"-->wait for sometime,after finishing loading of all the services-->Check on Telnet Client.-->click Ok.
Now telnet is enabled.

How to make private folder in windows.

By making a folder private in windows you are making sure that it remains private i.e it cannot be viewed,copied or deleted without proper rights. Lets see how we can do it?
Go to CMD:
Type: "cacls newfolder /E /P everyone:n" without quotes.
Now the folder "newfolder" is private,no one can view,copy or delete it.
If you want to reverse the process then Type: "cacls newfolder /E /P everyone:f" without quotes.
Now its back to previous state.

CACLS(Modify Discretionary Access Control List). cacls is now depreciated and icacls is used. Check its various options and workings by typing "cacls /?" or "icacls /?"



How to install windows 7 from USB stick via CMD.



1. Go To Run--- Type DISKPART.
2.Type LIST DISK.
 A list will be shown....... e.g. DISK 0 ,DISK 1, DISK2
 mark your pendrive disk .....
you can know your pendrive by seeing the size.
3.Type SELECT DISK 1/2/3 ........depending what it shows for your pen-drive in your system. 
4.Type CLEAN.
5.Type CREATE PARTITION=PRIMARY.
6.Type SELECT PARTITION=1.
7.Type FORMAT FS=NTFS.

wait for  some minutes..

8. Type ACTIVE.
9. Type ASSIGN.
10.Type EXIT.
Now Copy all the files from windows 7 dvd to your USB Stick.

One more step,now that you have copied all the files,go to the boot folder and copy bootsect.exe and paste it in the root of your pen-drive.

NOTE: Diskpart works only in Vista and Windows-7.

Saturday, October 15, 2011

How to hide important datas behind pictures??

So you are just another user who has too many accounts and mostly you like to save your username and passwords in some text file.Here's the thing you can hide the text file in some random image. This Concept is called as STEGANOGRAPHY.   
Go To: RUN->type cmd-> type: "copy /b my.jpg+new.txt secret.jpg" --without quotes -->enter.
A new secret.jpg will be created.To view your .txt file just open this image in notepad.






 

Tech. Arcade Copyright © 2011