JSI Tip 1681. Assign Dial-In rights in batch.

Jerold Schulman

October 6, 1999

1 Min Read
ITPro Today logo in a gray background | ITPro Today


RASgrant is a freeware utility that assigns Dial-In rights in batch.

Typing RASgrant /? returns:

RASGRANT by Gerard van Seventer -  mailto:[email protected] 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:   -U:   -G:   -P: (See below)    -T: (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)


Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like