Adding your user ID to the DB2ADMNS and DB2USERS user groups (Windows)
After successfully completing a Db2® installation, you now have to add users to the DB2ADMNS or the DB2USERS groups for users that need to run local Db2 applications and tools on the machine.
Before you begin
- You must have installed a Db2 database product.
- You must have selected the Enable operating system security check box on the Enable operating system security for Db2 object panel during the installation of your Db2 database product.
Procedure
To add users to the appropriate group:
- Click Start and select Run.
- Type lusrmgr.msc and click OK.
- Select Local Users and Groups.
- Select Users.
- Select the user you want to add.
- Click Properties.
- Click the Member Of tab.
- Click Add.
- Select the appropriate group.
- Click OK.
What to do next
If you did the install and chose not to enable the new security feature you can still do so post-install by running the db2extsec.exe command. Adding a user to a group takes effect the first time the user logs on after the user has been added. For example, if you add you user ID to the DB2ADMNS group, you need to log out and then log in again for this change to take effect.