Re: LogOff Script by Rafael
Rafael
Fri Apr 08 03:00:34 CDT 2005
Scott,
You need something to log the user off?
if all you need is to run your line of code and then logoff, you can do it
in a batch file.
Create a plain text file and type:
Echo off
regedit /s |\myserver\Deployment\SpySweeperRegEdit.reg
logoff
and then saved as name.bat
try and see if it fits your need,
RT
"scott" <sbailey@mileslumber.com> wrote in message
news:uRFmWO4OFHA.3560@TK2MSFTNGP14.phx.gbl...
>I need to run below code on logoff after a software install to modify a
>registry setting. Can someone help me with syntax for creating a vbs file I
>can use as a log off script?
>
> regedit /s \\myserver\Deployment\SpySweeperRegEdit.reg
>