RasGrant


RasGrant is a windows NT / 2000 commandline utility for setting Ras Dialin permissions.

Dialin permissions can be set for a single user or a group of users.

When using the group option (-G) be aware of the fact that if a user is added or removed from the group, the dialin permissions are NOT changed automatically.

The utility will detect automatically Local or Global groups. Of course for Global groups you need a Domain controller.


Usage:

RasGrant -S:<AccountServer>
-U:<UserName>
-G:<GroupName>
-P:<Permission> (See below)
-T:<PhoneNumber> (use with -P:A)
-D   Display current settings  
Permission:

X

No Dialin

D

Dialin with No Callback

C

Caller can set Callback

A

Admin callback (use with -T)


Examples:

RasGrant -s:\\officesrv -u:johnD -p:d   (Set dialin permisions to dialin with no callback for user johnD)

RasGrant -s:\\officesrv -g:rasusers -p:c (All users in group rasusers wil be set to Dialin with callback)

RasGrant -s:\\Server -g:"Domain users" -d (display setting for all users in group)


For questions and or comments please send mail to the author 

Download RasGrant