Anyone here have some good tips to get a .vbs script to run when a
computer is logged of or shut down?[/color]
Power on the computer then login!
–
Kevin Boyle - Knowledge Partner
If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below…
Craig Wilson sounds like they ‘said’:
[color=blue]
Ton of free WOL tools, you just need to collect and associate MACs to
PCs you want to wakeup.
So on a Central Computer, Use the Windows Scheduler to run WOL tasks
at 2am or whatever.
Then Have Windows Task Scheduler configured to run defined actions at
2:30am for good measure.
[/color]
So my response to Craig’s comment is…
We are basically trying to get a script to run (in our VDI envir) that
exports the default printer reg setting to a .reg file, then have a
login script that imports that setting back in.
What we’ve tried so far we’ve gotten to work once, then the logoff
script never seems to work again.
You might have tried this already but we run a login VB script under
Group Policy: User Configuration; Windows Settings, Scripts
(Logon/Logoff), in Windows 7 and works every time.
You might have tried this already but we run a login VB script under
Group Policy: User Configuration; Windows Settings, Scripts
(Logon/Logoff), in Windows 7 and works every time.[/color]
So my response to lanaleon’s comment is…
The login script is not the problem, it’s getting one to run during
logoff or shutdown.
Moving now to try just running a scheduled task during the day,
thinking that might work out for us.
Ok, so figured out a scheduled task to do what I want, made the mistake
of being in the User portion of the GPO to get this to work when I need
to be in the Computer portion.
Set up the exact same script in the Computer portion of GPO, @#$%ing
scheduled task will not run.
Anyone have any suggestions? Aside from Zen, fdisk, etc, etc.
“Stevo” steveSPAM@LESSccgov.net wrote in news:_OMju.269$FD5.257 @novprvlin0913.provo.novell.com:
[color=blue]
Set up the exact same script in the Computer portion of GPO, @#$%ing
scheduled task will not run.
Anyone have any suggestions? Aside from Zen, fdisk, etc, etc.[/color]
Never ever use mapped drive letters. Use a UNC path in all scheduled task
script actions on MS Windows.
I just battled some tasks and “relearned” this, this week.
Might help
This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com
Never ever use mapped drive letters. Use a UNC path in all scheduled
task script actions on MS Windows.
I just battled some tasks and “relearned” this, this week.
Might help :)[/color]
So my response to Dave’s comment is…
Thinking this was a permissions issue. Ended up putting needed files
local to the VM templates, setting a scheduled task on the template,
the linked clones then run it fine.
Little bit of a PITA, but we only needed this for our virtual desktops
anyway, so it worked out ok…so far.