Tuesday, December 5, 2017

windows - Is there a script "to log remote users off and after log them off to delete their profiles?

I found 6 simple scripts (.bat and .vbs) for remote pcs (Win XP and 7) to Clean Profile properly and faultlessly:



  1. Script: sending Ping to check Remote PC On or Off (.bat)


  2. Script: checking who logged in/on Remote PC (.bat)


  3. Script: restarting remote PC with a warning message (.bat)


  4. Script: restrict the Remote Users to log on/in till I finish works (.bat)


  5. Script: deleting Remote Users Profile (folder-subfolder-files) and their Regedit Keys (.vbs)


  6. Script: removing restriction the Remote Users to log on/in till I finish works (.bat)



I don't know how we can combine these 6 scripts.
Is there any script you know (doing 6 scripts job via one script)?
By the way, Windows Remote Desktop really takes a long time compared to 6 scripts, so we need to use a more simple way.


Thank you in advance and sorry for my bad English.

No comments:

Post a Comment

hard drive - Leaving bad sectors in unformatted partition?

Laptop was acting really weird, and copy and seek times were really slow, so I decided to scan the hard drive surface. I have a couple hundr...