zFrank Posted August 15, 2008 Posted August 15, 2008 hi, want to lock my computer between 12:01AM to 12:01PM is there anyway to do it? i know i can use ctrl+L to lock the computer but i dont want because it will permanently lock the pc. i want to do it for my son.... i know there are many softwares to do it and many of them are free.. but i want to do it myself. i just want to restrict my son to use computer between this time. any ideas or codes? please share... [font="Georgia"]GSM Expert[/font] but not AutoIt :DProud to be Admin Of : http://www.gsmhosting.net/visit my Forum... http://www.gsmhosting.net/vbb/index.php$Life = "Happy" If @Error Then $Life = "Risk"
d4rk Posted August 15, 2008 Posted August 15, 2008 (edited) Put this script to Start up folder and it will do what you need $Hour=@Hour if ($Hour>12 and $Hour<24) then msgbox(64,"","you don't have the right to use PC in these time !",3) shutdown(2) endif also, you can add password in case that's you who's using the PC Edit : prevent misunderstading from the idiots Edited August 16, 2008 by d4rk [quote]Don't expect for a perfect life ... Expect a least troubles ones[/quote]Contact me : ass@kiss.toWhat I Have Done :Favorites Manager Mangage your favorite's folder, that's coolPC Waker For those who want to save stickersWebScipts Supporter For those who've just started with Web and WebScriptsTemporary Looker Simple but powerful to manage your Temporary folder, you know what you downloaded[UDF] _NumberFormat() Better performance on number display[UDF] _DirGet() What a folder contain [how many (hidden,normal,...) files], with one line of code[UDF] _IsPressEs() Just like _IsPress() but for a group of keys
Innovative Posted August 15, 2008 Posted August 15, 2008 Put this script to Start up folder and it will do what you need $Hour=@Hour if ($Hour>12 and $Hour<24) then msgbox(64,"","you don't have the right to use PC in these time !") shutdown(2) endif also, you can add password in case that's you who's using the PC And that's really dumb.. Few steps to bypass that , * Startup computer * Keep the MsgBox open * Go to the startup folder * Remove the file * Restart the computer * BINGO - Bypassed!
d4rk Posted August 15, 2008 Posted August 15, 2008 hah, so you think you're a smarter ass ? you think can't i think of writting to registry for starting with window, make a delay for the msgbox and some freeze ? [quote]Don't expect for a perfect life ... Expect a least troubles ones[/quote]Contact me : ass@kiss.toWhat I Have Done :Favorites Manager Mangage your favorite's folder, that's coolPC Waker For those who want to save stickersWebScipts Supporter For those who've just started with Web and WebScriptsTemporary Looker Simple but powerful to manage your Temporary folder, you know what you downloaded[UDF] _NumberFormat() Better performance on number display[UDF] _DirGet() What a folder contain [how many (hidden,normal,...) files], with one line of code[UDF] _IsPressEs() Just like _IsPress() but for a group of keys
d4rk Posted August 15, 2008 Posted August 15, 2008 hah, so you think you're a smarter ass ? you think can't i think of writting to registry for starting with window, make a delay for the msgbox and some freeze ? [quote]Don't expect for a perfect life ... Expect a least troubles ones[/quote]Contact me : ass@kiss.toWhat I Have Done :Favorites Manager Mangage your favorite's folder, that's coolPC Waker For those who want to save stickersWebScipts Supporter For those who've just started with Web and WebScriptsTemporary Looker Simple but powerful to manage your Temporary folder, you know what you downloaded[UDF] _NumberFormat() Better performance on number display[UDF] _DirGet() What a folder contain [how many (hidden,normal,...) files], with one line of code[UDF] _IsPressEs() Just like _IsPress() but for a group of keys
d4rk Posted August 15, 2008 Posted August 15, 2008 hah, so you think you're a smarter ass ? you think can't i think of writting to registry for starting with window, make a delay for the msgbox and some freeze ? [quote]Don't expect for a perfect life ... Expect a least troubles ones[/quote]Contact me : ass@kiss.toWhat I Have Done :Favorites Manager Mangage your favorite's folder, that's coolPC Waker For those who want to save stickersWebScipts Supporter For those who've just started with Web and WebScriptsTemporary Looker Simple but powerful to manage your Temporary folder, you know what you downloaded[UDF] _NumberFormat() Better performance on number display[UDF] _DirGet() What a folder contain [how many (hidden,normal,...) files], with one line of code[UDF] _IsPressEs() Just like _IsPress() but for a group of keys
Innovative Posted August 15, 2008 Posted August 15, 2008 It's foolproof this way.. $Hour = @Hour If ($Hour > 12 And $Hour < 24) Then BlockInput(1) MsgBox(64, "", "you don't have the right to use PC in these time !", 3) ShutDown(2) Endif & Nice triple post..
Smiley357 Posted August 15, 2008 Posted August 15, 2008 My turn. * reboot computer into safe mode * delete from startup * reboot * Both bypassed!!
Smiley357 Posted August 15, 2008 Posted August 15, 2008 @zFrank I would suggest you have a logon for your son and a admin logon for you. Reason being is b/c if he has full rights he can bypass anything you write. If he knows anything about computers and kids seem to learn the wrong things fast!. Here is how you set a time for him. Create his own user account. Then follow these steps. Go to run box Type net user <exact_user_name> /Time:M-F,08:00-17 :00 without the quotes. This will let the particular user to login from Monday to Friday (M-F) between 08:00 am to 5:00 pm . If you want to revert it and allows user to login all the time use net user <exact_user_name> /Time all If you want that user never to loging just say net user <exact_user_name> /Time i.e dont give anything after time and it will not allow user to login.
2words4uready Posted August 15, 2008 Posted August 15, 2008 You could just unplug the tower cord and take it with you i know my computers cord comes off.
spudw2k Posted August 15, 2008 Posted August 15, 2008 Dudes, if anyone gets physical access to a comp, your pwned. Let's assume his kid doesn't know about live linux cd's or how to perform power user tasks; Smiley has good advice, but a startup script isn't too bad either. You could put it various places (Startup Folder, Scheduled Task, or Registry). Spoiler Things I've Made: Always On Top Tool ◊ AU History ◊ Deck of Cards ◊ HideIt ◊ ICU ◊ Icon Freezer ◊ Ipod Ejector ◊ Junos Configuration Explorer ◊ Link Downloader ◊ MD5 Folder Enumerator ◊ PassGen ◊ Ping Tool ◊ Quick NIC ◊ Read OCR ◊ RemoteIT ◊ SchTasksGui ◊ SpyCam ◊ System Scan Report Tool ◊ System UpTime ◊ Transparency Machine ◊ VMWare ESX Builder Misc Code Snippets: ADODB Example ◊ CheckHover ◊ Detect SafeMode ◊ DynEnumArray ◊ GetNetStatData ◊ HashArray ◊ IsBetweenDates ◊ Local Admins ◊ Make Choice ◊ Recursive File List ◊ Remove Sizebox Style ◊ Retrieve PNPDeviceID ◊ Retrieve SysListView32 Contents ◊ Set IE Homepage ◊ Tickle Expired Password ◊ Transpose Array Projects: Drive Space Usage GUI ◊ LEDkIT ◊ Plasma_kIt ◊ Scan Engine Builder ◊ SpeeDBurner ◊ SubnetCalc Cool Stuff: AutoItObject UDF ◊ Extract Icon From Proc ◊ GuiCtrlFontRotate ◊ Hex Edit Funcs ◊ Run binary ◊ Service_UDF
Smiley357 Posted August 15, 2008 Posted August 15, 2008 @2words4uready Yeah but 2 metal hanger wires and a soldering gun and that is bypassed!! LOL j/k
d4rk Posted August 16, 2008 Posted August 16, 2008 (edited) It's foolproof this way.. $Hour = @Hour If ($Hour > 12 And $Hour < 24) Then BlockInput(1) MsgBox(64, "", "you don't have the right to use PC in these time !", 3) ShutDown(2) Endif & Nice triple post..wtf ? You come here with nothing except fucking on my script ? ok, please give him a better codes, and beware of be fucked Edited August 16, 2008 by d4rk [quote]Don't expect for a perfect life ... Expect a least troubles ones[/quote]Contact me : ass@kiss.toWhat I Have Done :Favorites Manager Mangage your favorite's folder, that's coolPC Waker For those who want to save stickersWebScipts Supporter For those who've just started with Web and WebScriptsTemporary Looker Simple but powerful to manage your Temporary folder, you know what you downloaded[UDF] _NumberFormat() Better performance on number display[UDF] _DirGet() What a folder contain [how many (hidden,normal,...) files], with one line of code[UDF] _IsPressEs() Just like _IsPress() but for a group of keys
Moderators SmOke_N Posted August 16, 2008 Moderators Posted August 16, 2008 And that's really dumb.. Few steps to bypass that , * Startup computer* Keep the MsgBox open* Go to the startup folder* Remove the file* Restart the computer* BINGO - Bypassed!Consider this your "verbal warning". Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now