Guys,

Are there any script that I can use to set "Allow Access" in the Dial In tab?



Thanks,
tnt

Re: Script to Allow Access (Remote access permission) in dial in tab i by ThatsIT

ThatsIT
Sat Jun 16 10:21:40 CDT 2007


"tnt" <tnt@discussions.microsoft.com> wrote in message
news:CDCF5153-06D7-4039-AB7F-44C9F1DEC8DA@microsoft.com...
> Guys,
>
> Are there any script that I can use to set "Allow Access" in the Dial In
> tab?
>
>


this script allows dial in access to all users in a OU

http://dev.thatsit.net.au/samples/wsh/thatsit/ad/changedialinpermissions.asp


>
> Thanks,
> tnt


Re: Script to Allow Access (Remote access permission) in dial in t by tnt

tnt
Sun Jun 17 04:36:00 CDT 2007

Thanks a lot!! I will give it a try.

Tnt

>
> "tnt" <tnt@discussions.microsoft.com> wrote in message
> news:CDCF5153-06D7-4039-AB7F-44C9F1DEC8DA@microsoft.com...
> > Guys,
> >
> > Are there any script that I can use to set "Allow Access" in the Dial In
> > tab?
> >
> >
>
>
> this script allows dial in access to all users in a OU
>
> http://dev.thatsit.net.au/samples/wsh/thatsit/ad/changedialinpermissions.asp
>
>
> >
> > Thanks,
> > tnt
>

Re: Script to Allow Access (Remote access permission) in dial in t by tnt

tnt
Tue Jun 19 16:36:03 CDT 2007


I tried running it, but no luck.

There is something with the synchronization that talks on this link:

http://support.microsoft.com/kb/q252398/


tnt

"tnt" wrote:

> Thanks a lot!! I will give it a try.
>
> Tnt
>
> >
> > "tnt" <tnt@discussions.microsoft.com> wrote in message
> > news:CDCF5153-06D7-4039-AB7F-44C9F1DEC8DA@microsoft.com...
> > > Guys,
> > >
> > > Are there any script that I can use to set "Allow Access" in the Dial In
> > > tab?
> > >
> > >
> >
> >
> > this script allows dial in access to all users in a OU
> >
> > http://dev.thatsit.net.au/samples/wsh/thatsit/ad/changedialinpermissions.asp
> >
> >
> > >
> > > Thanks,
> > > tnt
> >

Re: Script to Allow Access (Remote access permission) in dial in t by ThatsIT

ThatsIT
Thu Jun 21 06:01:04 CDT 2007


"tnt" <tnt@discussions.microsoft.com> wrote in message
news:26658256-1896-4411-9BD9-6750AC78A2EF@microsoft.com...
>
> I tried running it, but no luck.
>
> There is something with the synchronization that talks on this link:
>
> http://support.microsoft.com/kb/q252398/
>
>


the script works alright, but i have seen where it is not refected in the
users properties.
the check box may still say denied, but i bet that they now have dial in
permissions


> tnt
>
> "tnt" wrote:
>
>> Thanks a lot!! I will give it a try.
>>
>> Tnt
>>
>> >
>> > "tnt" <tnt@discussions.microsoft.com> wrote in message
>> > news:CDCF5153-06D7-4039-AB7F-44C9F1DEC8DA@microsoft.com...
>> > > Guys,
>> > >
>> > > Are there any script that I can use to set "Allow Access" in the Dial
>> > > In
>> > > tab?
>> > >
>> > >
>> >
>> >
>> > this script allows dial in access to all users in a OU
>> >
>> > http://dev.thatsit.net.au/samples/wsh/thatsit/ad/changedialinpermissions.asp
>> >
>> >
>> > >
>> > > Thanks,
>> > > tnt
>> >


Re: Script to Allow Access (Remote access permission) in dial in t by tnt

tnt
Thu Jun 21 13:11:00 CDT 2007


You are probably right on that. I went into adsiedit and saw the change.

I remember reading somewhere that a utility is needed to make the change in
the user property too.


Tnt

"ThatsIT.net.au" wrote:

>
> "tnt" <tnt@discussions.microsoft.com> wrote in message
> news:26658256-1896-4411-9BD9-6750AC78A2EF@microsoft.com...
> >
> > I tried running it, but no luck.
> >
> > There is something with the synchronization that talks on this link:
> >
> > http://support.microsoft.com/kb/q252398/
> >
> >
>
>
> the script works alright, but i have seen where it is not refected in the
> users properties.
> the check box may still say denied, but i bet that they now have dial in
> permissions
>
>
> > tnt
> >
> > "tnt" wrote:
> >
> >> Thanks a lot!! I will give it a try.
> >>
> >> Tnt
> >>
> >> >
> >> > "tnt" <tnt@discussions.microsoft.com> wrote in message
> >> > news:CDCF5153-06D7-4039-AB7F-44C9F1DEC8DA@microsoft.com...
> >> > > Guys,
> >> > >
> >> > > Are there any script that I can use to set "Allow Access" in the Dial
> >> > > In
> >> > > tab?
> >> > >
> >> > >
> >> >
> >> >
> >> > this script allows dial in access to all users in a OU
> >> >
> >> > http://dev.thatsit.net.au/samples/wsh/thatsit/ad/changedialinpermissions.asp
> >> >
> >> >
> >> > >
> >> > > Thanks,
> >> > > tnt
> >> >
>

Re: Script to Allow Access (Remote access permission) in dial in t by ThatsIT

ThatsIT
Fri Jun 22 10:22:25 CDT 2007


"tnt" <tnt@discussions.microsoft.com> wrote in message
news:F0FE36E6-279D-4035-8231-52EC062BAF85@microsoft.com...
>
> You are probably right on that. I went into adsiedit and saw the change.
>
> I remember reading somewhere that a utility is needed to make the change
> in
> the user property too.
>


it changed the property for me, but the person that I first wrote the script
for it did not, but still worked, maybe it will reflect after a reboot?



>
> Tnt
>
> "ThatsIT.net.au" wrote:
>
>>
>> "tnt" <tnt@discussions.microsoft.com> wrote in message
>> news:26658256-1896-4411-9BD9-6750AC78A2EF@microsoft.com...
>> >
>> > I tried running it, but no luck.
>> >
>> > There is something with the synchronization that talks on this link:
>> >
>> > http://support.microsoft.com/kb/q252398/
>> >
>> >
>>
>>
>> the script works alright, but i have seen where it is not refected in the
>> users properties.
>> the check box may still say denied, but i bet that they now have dial in
>> permissions
>>
>>
>> > tnt
>> >
>> > "tnt" wrote:
>> >
>> >> Thanks a lot!! I will give it a try.
>> >>
>> >> Tnt
>> >>
>> >> >
>> >> > "tnt" <tnt@discussions.microsoft.com> wrote in message
>> >> > news:CDCF5153-06D7-4039-AB7F-44C9F1DEC8DA@microsoft.com...
>> >> > > Guys,
>> >> > >
>> >> > > Are there any script that I can use to set "Allow Access" in the
>> >> > > Dial
>> >> > > In
>> >> > > tab?
>> >> > >
>> >> > >
>> >> >
>> >> >
>> >> > this script allows dial in access to all users in a OU
>> >> >
>> >> > http://dev.thatsit.net.au/samples/wsh/thatsit/ad/changedialinpermissions.asp
>> >> >
>> >> >
>> >> > >
>> >> > > Thanks,
>> >> > > tnt
>> >> >
>>


Re: Script to Allow Access (Remote access permission) in dial in t by guayo

guayo
Fri Sep 07 12:00:01 PDT 2007

I use the following code in C# to enable Dial-in.

//Enable Dial-in
newuser.Properties["msNPAllowDialin"].Value = true;
newuser.CommitChanges();

The problem I have is that this code only sets the Dial-in UI, but doesn't
enable remote access.

I have searched all over the place, but can't find any solution to this
problem.






"ThatsIT.net.au" wrote:

>
> "tnt" <tnt@discussions.microsoft.com> wrote in message
> news:F0FE36E6-279D-4035-8231-52EC062BAF85@microsoft.com...
> >
> > You are probably right on that. I went into adsiedit and saw the change.
> >
> > I remember reading somewhere that a utility is needed to make the change
> > in
> > the user property too.
> >
>
>
> it changed the property for me, but the person that I first wrote the script
> for it did not, but still worked, maybe it will reflect after a reboot?
>
>
>
> >
> > Tnt
> >
> > "ThatsIT.net.au" wrote:
> >
> >>
> >> "tnt" <tnt@discussions.microsoft.com> wrote in message
> >> news:26658256-1896-4411-9BD9-6750AC78A2EF@microsoft.com...
> >> >
> >> > I tried running it, but no luck.
> >> >
> >> > There is something with the synchronization that talks on this link:
> >> >
> >> > http://support.microsoft.com/kb/q252398/
> >> >
> >> >
> >>
> >>
> >> the script works alright, but i have seen where it is not refected in the
> >> users properties.
> >> the check box may still say denied, but i bet that they now have dial in
> >> permissions
> >>
> >>
> >> > tnt
> >> >
> >> > "tnt" wrote:
> >> >
> >> >> Thanks a lot!! I will give it a try.
> >> >>
> >> >> Tnt
> >> >>
> >> >> >
> >> >> > "tnt" <tnt@discussions.microsoft.com> wrote in message
> >> >> > news:CDCF5153-06D7-4039-AB7F-44C9F1DEC8DA@microsoft.com...
> >> >> > > Guys,
> >> >> > >
> >> >> > > Are there any script that I can use to set "Allow Access" in the
> >> >> > > Dial
> >> >> > > In
> >> >> > > tab?
> >> >> > >
> >> >> > >
> >> >> >
> >> >> >
> >> >> > this script allows dial in access to all users in a OU
> >> >> >
> >> >> > http://dev.thatsit.net.au/samples/wsh/thatsit/ad/changedialinpermissions.asp
> >> >> >
> >> >> >
> >> >> > >
> >> >> > > Thanks,
> >> >> > > tnt
> >> >> >
> >>
>

Re: Script to Allow Access (Remote access permission) in dial in t by ThatsIT

ThatsIT
Fri Sep 07 18:39:49 PDT 2007

mine does the opposite, maybe use both


"guayo" <guayo@discussions.microsoft.com> wrote in message
news:5A18FB28-23AD-490A-B40F-12F7E5A5AF7F@microsoft.com...
>I use the following code in C# to enable Dial-in.
>
> //Enable Dial-in
> newuser.Properties["msNPAllowDialin"].Value = true;
> newuser.CommitChanges();
>
> The problem I have is that this code only sets the Dial-in UI, but doesn't
> enable remote access.
>
> I have searched all over the place, but can't find any solution to this
> problem.
>
>
>
>
>
>
> "ThatsIT.net.au" wrote:
>
>>
>> "tnt" <tnt@discussions.microsoft.com> wrote in message
>> news:F0FE36E6-279D-4035-8231-52EC062BAF85@microsoft.com...
>> >
>> > You are probably right on that. I went into adsiedit and saw the
>> > change.
>> >
>> > I remember reading somewhere that a utility is needed to make the
>> > change
>> > in
>> > the user property too.
>> >
>>
>>
>> it changed the property for me, but the person that I first wrote the
>> script
>> for it did not, but still worked, maybe it will reflect after a reboot?
>>
>>
>>
>> >
>> > Tnt
>> >
>> > "ThatsIT.net.au" wrote:
>> >
>> >>
>> >> "tnt" <tnt@discussions.microsoft.com> wrote in message
>> >> news:26658256-1896-4411-9BD9-6750AC78A2EF@microsoft.com...
>> >> >
>> >> > I tried running it, but no luck.
>> >> >
>> >> > There is something with the synchronization that talks on this link:
>> >> >
>> >> > http://support.microsoft.com/kb/q252398/
>> >> >
>> >> >
>> >>
>> >>
>> >> the script works alright, but i have seen where it is not refected in
>> >> the
>> >> users properties.
>> >> the check box may still say denied, but i bet that they now have dial
>> >> in
>> >> permissions
>> >>
>> >>
>> >> > tnt
>> >> >
>> >> > "tnt" wrote:
>> >> >
>> >> >> Thanks a lot!! I will give it a try.
>> >> >>
>> >> >> Tnt
>> >> >>
>> >> >> >
>> >> >> > "tnt" <tnt@discussions.microsoft.com> wrote in message
>> >> >> > news:CDCF5153-06D7-4039-AB7F-44C9F1DEC8DA@microsoft.com...
>> >> >> > > Guys,
>> >> >> > >
>> >> >> > > Are there any script that I can use to set "Allow Access" in
>> >> >> > > the
>> >> >> > > Dial
>> >> >> > > In
>> >> >> > > tab?
>> >> >> > >
>> >> >> > >
>> >> >> >
>> >> >> >
>> >> >> > this script allows dial in access to all users in a OU
>> >> >> >
>> >> >> > http://dev.thatsit.net.au/samples/wsh/thatsit/ad/changedialinpermissions.asp
>> >> >> >
>> >> >> >
>> >> >> > >
>> >> >> > > Thanks,
>> >> >> > > tnt
>> >> >> >
>> >>
>>


Re: Script to Allow Access (Remote access permission) in dial in t by guayo

guayo
Sat Sep 08 07:38:01 PDT 2007

I made a utility to create users in AD from a remote PC. How Can I use your
script to enable dial-in to the user that was just created? I guess my
question is can I incorcorate your script in C#?

"ThatsIT.net.au" wrote:

> mine does the opposite, maybe use both
>
>
> "guayo" <guayo@discussions.microsoft.com> wrote in message
> news:5A18FB28-23AD-490A-B40F-12F7E5A5AF7F@microsoft.com...
> >I use the following code in C# to enable Dial-in.
> >
> > //Enable Dial-in
> > newuser.Properties["msNPAllowDialin"].Value = true;
> > newuser.CommitChanges();
> >
> > The problem I have is that this code only sets the Dial-in UI, but doesn't
> > enable remote access.
> >
> > I have searched all over the place, but can't find any solution to this
> > problem.
> >
> >
> >
> >
> >
> >
> > "ThatsIT.net.au" wrote:
> >
> >>
> >> "tnt" <tnt@discussions.microsoft.com> wrote in message
> >> news:F0FE36E6-279D-4035-8231-52EC062BAF85@microsoft.com...
> >> >
> >> > You are probably right on that. I went into adsiedit and saw the
> >> > change.
> >> >
> >> > I remember reading somewhere that a utility is needed to make the
> >> > change
> >> > in
> >> > the user property too.
> >> >
> >>
> >>
> >> it changed the property for me, but the person that I first wrote the
> >> script
> >> for it did not, but still worked, maybe it will reflect after a reboot?
> >>
> >>
> >>
> >> >
> >> > Tnt
> >> >
> >> > "ThatsIT.net.au" wrote:
> >> >
> >> >>
> >> >> "tnt" <tnt@discussions.microsoft.com> wrote in message
> >> >> news:26658256-1896-4411-9BD9-6750AC78A2EF@microsoft.com...
> >> >> >
> >> >> > I tried running it, but no luck.
> >> >> >
> >> >> > There is something with the synchronization that talks on this link:
> >> >> >
> >> >> > http://support.microsoft.com/kb/q252398/
> >> >> >
> >> >> >
> >> >>
> >> >>
> >> >> the script works alright, but i have seen where it is not refected in
> >> >> the
> >> >> users properties.
> >> >> the check box may still say denied, but i bet that they now have dial
> >> >> in
> >> >> permissions
> >> >>
> >> >>
> >> >> > tnt
> >> >> >
> >> >> > "tnt" wrote:
> >> >> >
> >> >> >> Thanks a lot!! I will give it a try.
> >> >> >>
> >> >> >> Tnt
> >> >> >>
> >> >> >> >
> >> >> >> > "tnt" <tnt@discussions.microsoft.com> wrote in message
> >> >> >> > news:CDCF5153-06D7-4039-AB7F-44C9F1DEC8DA@microsoft.com...
> >> >> >> > > Guys,
> >> >> >> > >
> >> >> >> > > Are there any script that I can use to set "Allow Access" in
> >> >> >> > > the
> >> >> >> > > Dial
> >> >> >> > > In
> >> >> >> > > tab?
> >> >> >> > >
> >> >> >> > >
> >> >> >> >
> >> >> >> >
> >> >> >> > this script allows dial in access to all users in a OU
> >> >> >> >
> >> >> >> > http://dev.thatsit.net.au/samples/wsh/thatsit/ad/changedialinpermissions.asp
> >> >> >> >
> >> >> >> >
> >> >> >> > >
> >> >> >> > > Thanks,
> >> >> >> > > tnt
> >> >> >> >
> >> >>
> >>
>