Powershell script to check idle time and take action
$10-30 USD
착불
I am trying to keep the screensaver, screen lock etc. from kicking in on some Windows machines I manage. Here is a simple project that I need done but I lack the minutia to get it clean and right in the timetable I have. I need a PowerShell script that does the following:
It needs to check for user idle time (I.E. no keyboard or mouse action)
Then when 7 minutes of user idle time are detected it needs to…
Either press NUMLOCK twice or move the mouse one pixel to the right and then back to the original point (basically prevent the screensaver or screen lock from kicking in without doing any harm or change anything the user might have had open)
If the user is active it does nothing but loops to the beginning and starts again
Then after that action it needs to loop back and do it again
****Notes****
I believe this will not be a complex script but I am not PowerShell savvy and it must be in PowerShell and work in PowerShell 4 or older.
It needs to work for Windows 7, Windows Server 2008 R2, Windows Server 2008 SP2-32 bit, Windows 10, Windows Server 2012.
It needs to be able to be placed in a startup section of a local machine (I.E. it needs to run on startup regardless of user [either local to the machine or a domain user]) I would need to know where to place it since it might be different in the newer OS.
I do not want it to write to any files. Just exercise the action and that’s it in a loop that checks. Thanks folks.
프로젝트 ID: #13867947
프로젝트 소개
수상자:
I have 20 years of experience supporting Windows computers. I have some ideas already for your PowerShell script, I think I can put them together to get the result you want.
이 일자리에 대한 프리랜서 10 명의 평균 입찰가: $30
We are highly experienced Post Graduate Engineers, Doctors, IT, ITES, Software, Infrastructure Professionals, Web Designers and IT Architects. We can redo, improve, and publish any engineering, scientific MATLAB, SIMU 기타
Hello Sir We are providing services over REST web services based apps + E-commerce apps like Magento, Woocommerce based + Social Networking apps, Geo-Locations based apps, Classifieds apps, + Social Media APIs - FACEBO 기타
Hi, I have recently completed the Microsoft Powershell training course. No problem creating this script Cheers Jamie
I already use a solution same like this for my servers, which saves me from locking my Laptop. Hence Hope the same fits for you.