PC Review


Reply
Thread Tools Rate Thread

Group policy script for restart

 
 
uday
Guest
Posts: n/a
 
      29th Nov 2006
Is there any way to change the group policy such that a certain script
can be run only when the computer is restarted but not when the
computer is shutdown.

I know I can use the shutdown scripts in group policy. But they work
both for restart and shutdown.
I need my script to be run only when I restart the computer.

Please give me some ideas.

Thanks in advance,
Uday

 
Reply With Quote
 
 
 
 
ephemeral.strobe@yahoo.com
Guest
Posts: n/a
 
      20th Dec 2006
I suggest thinking about execution on logoff. Then you can restart the
computer by inactivity trigger. We do that with Scriptlogic's Desktop
Authority (http://www.scriptlogic.com/da).
uday wrote:
> Is there any way to change the group policy such that a certain script
> can be run only when the computer is restarted but not when the
> computer is shutdown.
>
> I know I can use the shutdown scripts in group policy. But they work
> both for restart and shutdown.
> I need my script to be run only when I restart the computer.
>
> Please give me some ideas.
>
> Thanks in advance,
> Uday


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How would you write a script to add and apply a group policy in Active Directory? Script could be VBscript arpitaashokadessai@gmail.com Microsoft Windows 2000 Active Directory 1 14th Feb 2007 10:07 PM
Today's Group Policy Webcast (Group Policy Processing) Mark Williams [MSFT] Microsoft Windows 2000 Group Policy 0 10th Nov 2004 07:46 PM
Next Group Policy webcast (Applying Group Policy) Mark Williams [MSFT] Microsoft Windows 2000 Group Policy 0 11th Oct 2004 04:43 PM
group policy editors + other resources of group policy information ... Akhlaq Khan Microsoft Windows 2000 Active Directory 0 24th Jul 2003 11:29 AM
group policy editors + other resources of group policy information ... Akhlaq Khan Microsoft Windows 2000 Group Policy 0 24th Jul 2003 11:29 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:45 PM.