Re: Logon Scripts

From: Scott Wilhelm (swilhelm@sllboces.org)
Date: 02/14/03


From: "Scott Wilhelm" <swilhelm@sllboces.org>
Date: Fri, 14 Feb 2003 09:24:16 -0500


I was looking for anything, but then I found out VBscript has .RegRead, so I
put together a VBS :)

Thanks!

"Bob Wells [ms]" <bobwells@microsoft.com> wrote in message
news:OyJ4ir60CHA.1636@TK2MSFTNGP12...
> What type of logon script, Scott? Batch, WSH, Perl, something else,
doesn't
> matter...
>
> -Bob
> The System Administration Scripting Guide Team
>
> Microsoft TechNet Script Center
> http://www.microsoft.com/technet/scriptcenter
>
> ONLINE version of the 1328 page
> Microsoft Windows 2000 Scripting Guide, Automating System Administration
> http://www.microsoft.com/technet/scriptcenter/scrguide/sagsas_overview.asp
>
>
>
> "Scott Wilhelm" <swilhelm@sllboces.org> wrote in message
> news:uK7ZiS30CHA.2564@TK2MSFTNGP12...
> > I'm trying to create a logon script for (at this time) multiple OS's
> > (Windows 9x & 2000).
> >
> > How can I read the registry to check a setting? For this instance, we
> have
> > some systems that have DNS turned on with it pointing at the wrong
domain.
> > I want to check their registry at each logon to see if a key's been set
> for
> > DNS to be on.
> >
> > After that, I'd like to reboot their machine so that the setting will be
> in
> > place. How would I do that?
> >
> > If anyone could help me out with these, I'd appreciate it.
> >
> > TIA!
> >
> > Scott
> >
> >
>
>