Cognos Controller 10
Windows 2008 R2 server
How do i add a new user to a local group on the server from the command line ?
Can be needed in testing purpose on a new installation of Cognos software, to see if the issue is because of the windows profiles temp files. Test with a new user can be good.
Start CMD as administrator on the Server ( or client computer).
Enter ; to create user mike
NET USER /ADD MIKE
Enter ; to set his password to password
NET USER MIKE PASSWORD
Enter ; to add mike to the local administrator group
NET LOCALGROUP ADMINISTRATORS MIKE /ADD
Enter ; to list users in the local group
NET LOCALGROUP ADMINISTRATORS
Enter ; to start a remote desktop session
MSTSC /v:127.0.0.1 /w:1024 /h:768
/v enter the name of the server or IP
/w set the width of the window
/h set the height of the window