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

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
>



Re: LogOff Script by scott

scott
Fri Apr 08 09:01:54 CDT 2005

I just need for this script to run when I manually restrart a users computer
so the registry change will go into effect. I would like help with correct
vbs syntax to accomoplish this task because I'd like to launch a IE pop-up
displaying a message to the user that the registry has been edited and the
system will restart.

Can you help with vbs syntax to do the same as below?




"Rafael T" <okinawapro@hotmail.com> wrote in message
news:%23iI39CBPFHA.2252@TK2MSFTNGP15.phx.gbl...
> 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
>>
>
>