winxp basic hacks
Results 1 to 2 of 2

Thread: winxp basic hacks

  1. #1

    winxp basic hacks

    hey
    I am giving this one since I got lot of negative points and I want to back up

    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.

  2. #2
    Senior Member
    Join Date
    Oct 2001
    Location
    Texas!
    Posts
    270
    Thank you.
    [gloworange]DISLEX[/gloworange]

Posting Permissions

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