I'm trying to simplify a load of AD admin tasks using vbscripts. One of
these tasks is allowing (or denying) dialup. I have found the
msNPAllowDialin AD attribute but looking at the schema - see the link at
the bottom of the post - it looks like I should be using something else. The
preferred admin interface (found by following the link) seems to be via a
RASadmin dll using C, which is way out of my league (to be honest, I'm
fairly new to scripting).

Is there an approved simple way to allow/deny ras access via vbscript? Or do
I have to bodge it and set msNPAllowDialin to True or False directly?

Cheers
Azi

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/adschema/adschema/a_msnpallowdialin.asp

Re: Allow Dialin via script by JHP

JHP
Wed Sep 14 12:57:02 CDT 2005

Here is a bit of over kill but should contain your answer:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sdo/sdo/changing_dial_in_settings.asp

HTH

"Azriphale" <Azriphale@hotmail.com> wrote in message
news:ulCXzqUuFHA.3040@TK2MSFTNGP10.phx.gbl...
> I'm trying to simplify a load of AD admin tasks using vbscripts. One of
> these tasks is allowing (or denying) dialup. I have found the
> msNPAllowDialin AD attribute but looking at the schema - see the link at
> the bottom of the post - it looks like I should be using something else.
> The
> preferred admin interface (found by following the link) seems to be via a
> RASadmin dll using C, which is way out of my league (to be honest, I'm
> fairly new to scripting).
>
> Is there an approved simple way to allow/deny ras access via vbscript? Or
> do
> I have to bodge it and set msNPAllowDialin to True or False directly?
>
> Cheers
> Azi
>
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/adschema/adschema/a_msnpallowdialin.asp
>
>
>



Re: Allow Dialin via script by Azriphale

Azriphale
Thu Sep 15 06:25:14 CDT 2005

Fantastic. You answered my next three questions in one go!

Many Thanks.
Azi

"JHP" <goawayspam@GFY.com> wrote in message
news:%23KpP3WVuFHA.3456@TK2MSFTNGP10.phx.gbl...
> Here is a bit of over kill but should contain your answer:
>
>
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sdo/sdo/changing_dial_in_settings.asp
>
> HTH
>
> "Azriphale" <Azriphale@hotmail.com> wrote in message
> news:ulCXzqUuFHA.3040@TK2MSFTNGP10.phx.gbl...
> > I'm trying to simplify a load of AD admin tasks using vbscripts. One of
> > these tasks is allowing (or denying) dialup. I have found the
> > msNPAllowDialin AD attribute but looking at the schema - see the link
at
> > the bottom of the post - it looks like I should be using something else.
> > The
> > preferred admin interface (found by following the link) seems to be via
a
> > RASadmin dll using C, which is way out of my league (to be honest, I'm
> > fairly new to scripting).
> >
> > Is there an approved simple way to allow/deny ras access via vbscript?
Or
> > do
> > I have to bodge it and set msNPAllowDialin to True or False directly?
> >
> > Cheers
> > Azi
> >
> >
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/adschema/adschema/a_msnpallowdialin.asp
> >
> >
> >
>
>