Powershell script to check idle time and take action

완료 등록 시간: 6년 전 착불
완료 착불

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.

마이크로소프트 파워쉘 (Powershell)

프로젝트 ID: #13867947

프로젝트 소개

10 건(제안서) 재택 근무형 프로젝트 서비스 이용 중: 6년 전

수상자:

djwoodard

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.

$25 USD (1일 이내)
(1 리뷰)
0.8

이 일자리에 대한 프리랜서 10 명의 평균 입찰가: $30

taran1392

Hi, I had a feeling that I have seen the similar project a few months back. I had prepared a script back then.I have the Script with me also. please let me know , if you are interested, I can show you the Demo. regard 기타

$25 USD (0일 이내)
(13 리뷰)
3.9
ilatech

Hi, I'm a french software engineer, and I worked for 10 years for compagnies. Now I'm a freelancer. For your project, I am available from now, and for the time you want. I have already done a script like you wan 기타

$25 USD (3일 이내)
(1 리뷰)
0.7
kvitaly

Hi there, I have developed such script several years ago and can provide it to you at anytime. I have a bit different detection alorithm, hovewer I can rewrite it as your specifiy in description (7 minutes, mouse mo 기타

$20 USD (1일 이내)
(1 리뷰)
0.4
allwriter4u

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 기타

$100 USD (1일 이내)
(0 리뷰)
0.0
khancse3

Hi, I’m dedicated professional Web and Desktop Programmer & Developer and freelancer only. I have been working with challenge and hope to improve future plan with good network every client. If any client want to get 기타

$25 USD (1일 이내)
(0 리뷰)
0.0
reverential

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 기타

$25 USD (1일 이내)
(0 리뷰)
0.0
INSTDEV

Hi, I have recently completed the Microsoft Powershell training course. No problem creating this script Cheers Jamie

$25 USD (1일 이내)
(0 리뷰)
0.0
K2teknik

I do not bid on your task, but just gives you a good advice, instead of doing as you propose, you should rater disabling the screensaver, it's much more easy and without undesirable side effects (you may have side effe 기타

$10 USD (1일 이내)
(0 리뷰)
0.0
Hire2AutomateIT

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.

$20 USD (2일 이내)
(0 리뷰)
0.0