Results 1 to 3 of 3

Thread: some windows xp basic hacking tricks

  1. #1

    some windows xp basic hacking tricks

    Hai Everybody

    Today I am continuing with my earlier manual and I will tell you how to shutdown, restart, logoff, abort shutdown, delayed shutdown etc all in a single click in WINDOWS XP.


    1) Delayed windows Shutdown in a single click

    c:\windows\system32\tsshutdn

    Here "C" is the drive letter in which the windows XP OS is installed.
    This shortcut on clicking will shutdown windows after 60 seconds. After clicking this, if you change your mind to work on your system for some more time or if you accidentally click this shortcut, then you can use this catch. Just click CTRL+C and your shutdown process will be aborted.



    2) Restart windows with a single click


    c:\windows\system32\shutdown –r

    Here "C" is the drive letter in which the window XP OS is installed.
    This shortcut on clicking will restart windows after 30 seconds. Once you click this shortcut, that’s all; your system gets rebooted after 30 seconds. Nothing can stop this restart except the ‘abort shutdown’ shortcut.


    3) Logoff windows with a single click


    c:\windows\system32\shutdown –l


    Here "C" is the drive letter in which the window XP OS is installed.
    This shortcut on clicking will immediately logoff your windows.

    4) Close or kill all windows applications without any warning using a single click shortcut


    c:\windows\system32\shutdown –f

    Here "C" is the drive letter in which the windows XP OS is installed.
    This shortcut on clicking will force all running applications to close without any warning. Also it will automatically logs off your windows after closing all your applications.









    5) Shutdown windows with a single click


    c:\windows\system32\shutdown –s


    Here "C" is the drive letter in which the windows XP OS is installed.
    This shortcut on clicking will shutdown windows after 30 seconds.


    6) Abort windows shutdown or restart or logoff with a single click


    c:\windows\system32\shutdown –a


    Here "C" is the drive letter in which the windows XP OS is installed.
    This shortcut on clicking will abort all shutdown & restart actions.



    Creating shortcuts is dealt in the previous manual and now I will tell you another way to make this code run with a single click.
    Thinking to guess what it is, ok, I will tell you, it is nothing but the use of batch files which are well known to us.

    I will now tell you how to write this code in a batch file.

    I am giving an example of a simple batch file which when clicked shuts down windows after 60 seconds (i.e. I had placed ‘delayed windows shutdown’ code in the batch file).
    To do this, first open a text editor like Notepad and type the following code as is:

    @echo off
    cd\
    cd windows
    cd system32
    tsshutdn
    exit


    Now after typing your code, save the file with a .bat extension. The filename looks something like this, ex: yourchoicestname.bat

    Then when you click the batch file immediately the code inside the file gets executed and the system acts upon the instruction given in the batch file, restart or shutdown or logoff etc whatever it is.....








    Felt it too lame or over detailed, bear with me please, I want this to be reached in full to even newbies. So only I am giving this in more
    detail.



    Bye for this time and meet you with more manuals in the future.

    Please do let me know as to what you think of this manual. I would really appreciate any emails or praise or criticism.

    Raghu Veer
    snerds@programmer.net

    http://www.freewebs.com/securitynerds


    To receive manuals, tutorials and many more written by Raghu Veer, and that of others on everything you ever dreamt of in your Inbox, join his mailing list by sending a blank email to: securitynerds-subscribe@yahoogroups.com

  2. #2
    Senior Member cwk9's Avatar
    Join Date
    Feb 2002
    Posts
    1,207
    Just a few things I would like to add about the shutdown command.

    Shutdown -i
    Brings up shutdown GUI

    Shutdown -s -m \\compname
    Will shutdown a remote computer based on windows networking name

    Shutdown -s -m (ip)
    You can also use it by ip address

    Note: for remote shutdown you must have the right privileges.
    Its not software piracy. I’m just making multiple off site backups.

  3. #3
    Junior Member
    Join Date
    Mar 2002
    Posts
    14


    thnx! it helps me a lot!

    thnx for tha two of u!

    rjhaey!!!!!!!!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •