Re: continue after reboot... by barabba72
barabba72
Fri Aug 01 12:26:28 CDT 2003
If you use the devon command you don't need a reboot. At least if I
understood right what you are trying to do.
For my infrastructure I wrote a script that disables cdrom, lpt ports,
usb ports, and so on based on the user group membership. It takes a
couple of seconds and requires no reboot. If you need some further
help write back.
"Joe Earnest" <joeearnest@qwest.net> wrote in message news:<eW2UQPuVDHA.2164@TK2MSFTNGP09.phx.gbl>...
> Hi,
>
> I addition to Robert's method, you might be able to have the primary file
> just write the portion of the vbs file that you want to run after rebooting,
> with the current values, as a temporary vbs file in the user's temporary
> folder, write the file pathname into a value under the the "RunOnce"
> registry key, and reboot. The secondary vbs script can delete its own vbs
> file from the user temporary folder when it runs. (Sorry, I don't have a
> script handy, but I have done this in the past as a purely local script.)
>
> Joe Earnest
>
> "thomas" <thomas.gonzalez2@amedd.army.mil> wrote in message
> news:04b601c356d9$1ece14a0$a301280a@phx.gbl...
> > I'm writing a script that gets the client name, creates a
> > folder of the client name on a server, then disable the
> > key and mouse and then I reboot the machine for the mouse
> > and keyboard to be disabled.
> >
> > now what i want to do is allow the script to continue
> > from where it left off at.
> >
> > how can i accomplish this task?
> >
> > thanks for your help
> >
> > thomas