
You can use the following methods to determine your current installed Windows and user is configured under domain or workgroup.
Method 1
Open the command prompt and execute the command, whoami /upn.
Below output show that your Windows and user is configured on domain.
Microsoft Windows [Version 6.1.7601] Copyright (c) 2009 Microsoft Corporation. All rights reserved. C:\Users\daera>whoami /upn daera@itsiti.com
Else, below output show that your Windows and user is under workgroup (standalone).
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\daera>whoami /upn
ERROR: Unable to get User Principal Name (UPN) as the current logged-on user
is not a domain user.
Method 2
[Tested on Windows 7] Right click on your Computer and select the Properties. Look the information under Computer name, domain and workgroup settings. If you see the “WORKGROUP”, means your Windows is under workgroup. Else, your Windows will be on domain.


