Jump to content

Help with removing screensavers


Recommended Posts

Hi there,

Can anyone tell me why when i when i delete the screensavers from my main cmd.script they are still accesible????? i know the code works cus i cut and pasted it into another script and ran it manually and it removed them, shortly followed by a WFP message, if anyone can shed any light on this matter i would be very greatfull..

Lee.........

Link to comment
Share on other sites


Set OpSysSet = GetObject("winmgmts:{(Shutdown)}//./root/cimv2").ExecQuery("select *from Win32_OperatingSystem where Primary=true")

for each OpSys in OpSysSet
   OpSys.ShutDown()
Next

AaronXP posted this is a different post this is the script to shutdown the computer when finshed

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...