If you are using Windows, put your userid into the local Administrators group, and/or
put your userid into the Windows group DB2ADMNS .
db2cwadmin.bat / db2cmd.exe (run as administrator)
db2 update dbm cfg using sysadm_group db2admns
net localgroup db2admns %username% /add
net localgroup Administrators %username% /add
db2 create database ....
If your Windows computer is part of an Active-Directory domain, and your user account is a DOMAIN account (instead of a local machine account) then you should use the fully qualified domain name instead of the short username. You can also use db2set DB2_GRP_LOOKUP=local, db2stop, db2start if you want group membership to be decided locally first instead of on the active directory first.
Last edited by db2mor; 09-03-12 at 11:46.