Run command at shutdown..........

  • Thread starter Thread starter Zeno
  • Start date Start date
Z

Zeno

We have a non-AD environment and want to configure a program to run at
shutown..............

Is there any method of configuring a program exe to run at
logoff/shutdown without the use of Active Directory............ we are
working in a workgroup environment and I need to configure out WinXps
to run a certain exe at shutdown............


Many thanks
 
Zeno said:
We have a non-AD environment and want to configure a program to run at
shutown..............

Is there any method of configuring a program exe to run at
logoff/shutdown without the use of Active Directory............ we are
working in a workgroup environment and I need to configure out WinXps
to run a certain exe at shutdown............


Many thanks

Run GPEDIT.MSC, then open up
- Local Computer Policy
- Computer Configuration
- Windows Settings
- Scripts (Startup / Shutdown)
 
If the computers are running Windows XP Pro use gpedit.msc

Start > Run > type in "gpedit.msc" > hit Enter

GPEDIT starts.

It has a left and right pane.

[For machine Startup/Shutdown]
In the left-hand pane under the "Computer Configuration" node expand
"Windows Settings" then click on "Scripts (Startup/Shutdown)"

[For just user LogOn/LogOff]
In the left-hand pane under the "User Configuration" node expand "Windows
Settings" then click on "Scripts (Logon/Logoff)"

Then go to it ..
 
I understand that startup/shutdown scripts/exe's can be run by GPO via
AD but we are not in an AD environment.......... were running Novell so
workstations are in a workgroup is there anything that can be
configured locally on the machine?

Thanks
 
Zeno said:
I understand that startup/shutdown scripts/exe's can be run by GPO via
AD but we are not in an AD environment.......... were running Novell so
workstations are in a workgroup is there anything that can be
configured locally on the machine?

Thanks

The method you received works very nicely in a
workgroup environment. Why don't you give it
a try?
 
I tired placing a VBS into this shutdown scripts but nothing seemed to
happen there?
Am I doing something wrong, I just place the path of the script to the
appropriate location............
 
Zeno said:
I tired placing a VBS into this shutdown scripts but nothing seemed to
happen there?
Am I doing something wrong, I just place the path of the script to the
appropriate location............

Start with something very, very basic and invoke this batch
file: (c:\test.bat):

@echo off
echo %date% %time% >> c:\test.txt
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top