Jump to content

Script to prevent your work desktop from being idle


DesiPokiri

Recommended Posts

I think this is the one I used in past. @chandrabhai7

Dim objResult

Set objShell = WScript.CreateObject("WScript.Shell")    
i = 0

Do While i = 0
  objResult = objShell.sendkeys("{NUMLOCK}”)
  Wscript.Sleep (6000)
Loop   

 

update it as per your wish how many hours you want to run it as per the first stack overflow comment in the below link

https://stackoverflow.com/questions/44585177/how-to-prevent-remote-desktop-from-being-idle

Link to comment
Share on other sites

3 minutes ago, chandrabhai7 said:

Ok ba thanks 

Current script I gave runs on infinite loop, so before logout either you should kill the process if you use this. So you can simply update the number of hours as mentioned in that comment and run it and it will end automatically after those hours 

  • Thanks 1
Link to comment
Share on other sites

1 minute ago, tennisluvrredux said:

Mouse move Ani app undi baa I use that now a days ayina naa rotta jaab now 3 days back to office Ani chepparu.

Chass

Inko job ethukko

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...