• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 545
  • Last Modified:

VB scripts for changing windows screen saver to default one.

I need to find the script for changing the windows screen saver to default one for following situation.
User use to download the screen saver which locks the computer screen, and that computer cannot be use by any other user.
-      The script should be remove the user selected screen saver and activate the windows XP screen saver with out password protection.
-      None of the user has got Local administrator rights, so the script we put on there computer should have “Runas” command for Administrator username and the PASSWORD should be hardcoded in the script(if password can be encrypted then It would be great.

I would really appreciate your help if some from you GURUS can show me the script. I am new bee with scripting so please do not mind if I am not reasonable here.

1 Solution
Just a note - any .vbs or .bat file with a admin UN and PW will be in the clear. - Meaning if your user is crafty - they will have the UN and PW for an admin account when they open the script manually. - which is what your are trying to avoid.

I'd suggest applying a user-based group policy to change the screensaver to what you want it to be, and locking out any changes is also available. If you are not on active directory - then a local policy will work just as well.

Gyan06Author Commented:
Thank you very much for your reply. After your suggestion I realize that if the solution to encryption is not possible then the best available option is local GP. I will apply the same here. Thanks again.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now