# Shutdown script

**URL:** <https://forums.suse.com/t/shutdown-script/23562>\
**Category:** Chatting over the Back Fence\
**Created:** [January 25, 2013, 11:09pm UTC](https://forums.suse.com/t/shutdown-script/23562 "2013-01-25T23:09:33Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![System1](https://avatars.discourse-cdn.com/v4/letter/s/51bf81/32.png) [@System1](https://forums.suse.com/u/System1)\
**Post date:** [January 25, 2013, 11:09pm UTC](https://forums.suse.com/t/shutdown-script/23562/1 "2013-01-25T23:09:33Z")

</div>

Anyone here familiar with these? Trying to run a vbs script at  
shutdown on the XP laptops we have left here.

If they are a member of our domain, it appears the script does not run.  
If they are just in a workgroup, it seems to run fine.

Any suggesions? Aside from ones like take the laptops out of our  
domain, stuff like that, etc.

–  
Stevo

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex022/uploads/suse/original/2X/5/5012ba89e3ffb5220dac47d5ea0ba032e2fe1cb6.png) [@system](https://forums.suse.com/u/system)\
**Post date:** [January 25, 2013, 11:24pm UTC](https://forums.suse.com/t/shutdown-script/23562/2 "2013-01-25T23:24:53Z")

</div>

Screensavers will normally block shutdown, even if not locked, on XP.  
Try creating a script that will detect the Screensaver and kill it then  
run shutdown.

Also verify the script impersonator has rights on domain pcs.  
shutdown rights could be different once joining a domain.

On 1/25/2013 4:09 PM, Stevo wrote:[color=blue]

> Anyone here familiar with these? Trying to run a vbs script at  
> shutdown on the XP laptops we have left here.
> 
> If they are a member of our domain, it appears the script does not run.  
> If they are just in a workgroup, it seems to run fine.
> 
> Any suggesions? Aside from ones like take the laptops out of our  
> domain, stuff like that, etc.  
> [/color]

–  
Craig Wilson - MCNE, MCSE, CCNA  
Novell Knowledge Partner

Novell does not officially monitor these forums.

Suggestions/Opinions/Statements made by me are solely my own.  
These thoughts may not be shared by either Novell or any rational human.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex022/uploads/suse/original/2X/5/5012ba89e3ffb5220dac47d5ea0ba032e2fe1cb6.png) [@system](https://forums.suse.com/u/system)\
**Post date:** [January 25, 2013, 11:31pm UTC](https://forums.suse.com/t/shutdown-script/23562/3 "2013-01-25T23:31:03Z")

</div>

craig wilson sounds like they ‘said’:  
[color=blue]

> Screensavers will normally block shutdown, even if not locked, on XP.  
> Try creating a script that will detect the Screensaver and kill it  
> then run shutdown.
> 
> Also verify the script impersonator has rights on domain pcs.  
> shutdown rights could be different once joining a domain.[/color]

So my response to craig’s comment is…

It’s not a script to actually shut the pc down, it’s one to re-enable  
the wireless nic when the user shuts the pc down.

Does a user need local admin rights (example) specifically on a domain  
machine to run scripts at shutdown, or would membership in a group that  
has elevated rights on that computer suffice?

–  
Stevo

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex022/uploads/suse/original/2X/5/5012ba89e3ffb5220dac47d5ea0ba032e2fe1cb6.png) [@system](https://forums.suse.com/u/system)\
**Post date:** [February 14, 2013, 3:25pm UTC](https://forums.suse.com/t/shutdown-script/23562/4 "2013-02-14T15:25:05Z")

</div>

The issue is likely that the Domain GPO is over-riding the Local GPO  
which you have calling the script.

On 1/25/2013 4:31 PM, Stevo wrote:[color=blue]

> craig wilson sounds like they ‘said’:  
> [color=green]
> 
> > Screensavers will normally block shutdown, even if not locked, on XP.  
> > Try creating a script that will detect the Screensaver and kill it  
> > then run shutdown.
> > 
> > Also verify the script impersonator has rights on domain pcs.  
> > shutdown rights could be different once joining a domain.[/color]
> 
> So my response to craig’s comment is…
> 
> It’s not a script to actually shut the pc down, it’s one to re-enable  
> the wireless nic when the user shuts the pc down.
> 
> Does a user need local admin rights (example) specifically on a domain  
> machine to run scripts at shutdown, or would membership in a group that  
> has elevated rights on that computer suffice?  
> [/color]

–  
Craig Wilson - MCNE, MCSE, CCNA  
Novell Knowledge Partner

Novell does not officially monitor these forums.

Suggestions/Opinions/Statements made by me are solely my own.  
These thoughts may not be shared by either Novell or any rational human.
