rsetup

set up Windows NT LSA database entries 

Command


SYNOPSIS

rsetup [-u username] [-p password]

rsetup [-u username] -d

rsetup [-u username] -q


DESCRIPTION

rsetup manages user name and password entries in the 10/2016/2019/11/2022/2025 LSA database. When the -u username option is specified, entries for the specified user name are managed; otherwise, rsetup manages entries for the current user. These database entries are for use by the rshd service and must exist for each user that is to be the target of rsh, rlogin, or rcp requests.

You can add, delete, and query entries in the database. When neither the -d (delete) nor -q (query) options are specified, rsetup adds an entry for the user specified by the -u or the current user. The user name and password is verified when adding and deleting entries.

Using rsetup to access the LSA database requires advanced privileges and permissions. If you do not have such privileges, rsetup attempts to use a service to gain access. First, rsetup tries accessing the database with rshd. If this fails (for example, rshd is not locally installed and running), rsetup then tries accessing the database with mksauth.

Options

-d 

deletes the current user from the LSA database.

-p password 

specifies the password for the current user. When no password is specified, you are prompted for one.

-q 

queries the LSA database for the existence of a valid password entry for the current user.

-u username 

specifies the user name for which you want to manage associated LSA database entries.

When this option is omitted, rsetup manages LSA database entries associated with the current user.


DIAGNOSTICS

Possible exit status values are:

0 

Successful completion.

>0 

An error occurred.


PORTABILITY

Windows 10. Windows Server 2016. Windows Server 2019. Windows 11. Windows Server 2022. Windows Server 2025.


AVAILABILITY

PTC MKS Toolkit for System Administrators
PTC MKS Toolkit for Developers
PTC MKS Toolkit for Interoperability
PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Professional Developers 64-Bit Edition
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition


SEE ALSO

Commands:
mksauth, rsh, rshd

MKS Toolkit Connectivity Solutions Guide


PTC MKS Toolkit 10.5 Documentation Build 40.