Wednesday, June 29, 2016

AutoIt script to prevent from autolocking Windows

At my previous workplace we had this autolocking policy for Windows machine. Sometimes it became irritating that while I was looking at an active log (on a pc) while sending some information from a laptop, the pc would autolock after a certain minutes.

So I resorted to this AutoIt script:

While True
   Local $pos = MouseGetPos()
   MouseMove($pos[0]-1, $pos[1]-1, 0)
   MouseMove($pos[0], $pos[1], 0)


  1. The blog you have shared is incredibly helpful. The tips you have shared related to web development is really informative. Thanks for sharing this blog!
    Hire Dedicated Wordpress Developer
    Hire Dedicated Opencart Developers
    Smarty Developers
    Hire Dedicated Magento Developer
    Hire Dedicated Web Developers

  2. I have bookmarked your website because this site contains valuable information in it. I am really happy with articles quality and presentation. Thanks a lot for keeping great stuff. I am very much thankful for this site. blue screen