Thursday 16 June 2011

Shutting down the computes on the Network

Shutting down the computes on the Network

Shutdown pc using command
Shutdown is the inbuild windows command to shutdown the system.
Now what if you wana shutdown PC automatically.

"For windows7" command can be used to shutdown the systems.

for /l %i in (1,1,254) do shutdown ''160.161.0.%i

For windows xp, single line is sufficient to log off:

for /l %i in (1,1,254) DO shutdown ''162.161.0.%i /l


where 160.161.0 is your Network ID.


Since windows server 2003 is server, you have to explicitly mention the reason to shutdown the system.

for /l %i in (1,1,254) do shutdown /r /m ''160.161.0.%i /d p:2:18

For help ,
Type shutown /? command in the command prompt. Several attributes a available with shutdown command.

NOTE:
These commands can shutdown the system without letting other users know. Though System admins can catch you by looking at the logs.
Warning!!you dont wana do that ...


Remember above given information is only for educational purpose...!!!

Saturday 11 June 2011

Shutdown your PC in different ways

1. Every one knows the first way, so no need of telling it :P

2. Google any shutdown software. plenty of them are out there for free.

3. minimize all windows using Win key +M and then Alt+F4 to bring "Turn Off" dialog box.

4. You can make your own shutdown application i.e shortcut.
While in desktop,right click >> "New Shortcut" >> when prompted for file name location, type shutdown -s -t 10.
To execute this shortcut, double click is enough.


5. Press the Win key + R key to open the RUN window and you need to type shutdown -s -t 10. ["s" implies shutdown and "t" time left for shutdown].
If you want forcibly shutdown your system, add "-f" along with other attributes.



6. Using TASK MANAGER--> Alt+Ctrl+Del>> "Shut down" from the menu.


8. Open task manager >> "Shutdown">>hold "ctrl key" >> click "Turn off" pc will be turned off in 3 secs..

Open Command Prompt when its is blocked

Create a Command Prompt When Your Command Prompt Does Not Work


If run command ( i.e. Windows key + R or Start >Run ) is not working on your system then open notepad and copy paste following lines.


@echo off
cmd
@echo on



CTRL+S to save as "cmd.bat"

Run the cmd.bat file to open the command prompt