How find user on computer


Cognos Controller 10.1

Windows 2008 R2 Server


How do I see the domain and username of the logged in user in a computer ?

Possible Solution:

On the client workstation you can run below script to display username and domain, that the user is logged into.

echo %userdomain% > finduser.txt

echo %username% >> finduser.txt

notepad.exe finduser.txt

Open notepad

enter above text

save as finduser.cmd

in windows explorer ensure the file is ended with cmd and not cmd.txt.

Let the user run the finduser.cmd file,

it will in notepad display

what domain and user is logged in to the computer.

This to ensure that he is logged in to Windows computer with the correct user.