Simple Command to Display your SID


Simple Command to Display your SID

Two methods covered here are: 

        1. the whoami command 
        2. and wmic useraccount

One of the simplest commands to display your SID when logged into a domain joined desktop is using a command that's been a part of the Windows operating system even before windows 10.  

The whoami command displayed your current login. If you are providing remote support, this is also helpful if you are remotely accessing the desktop and troubleshooting an issue that requires knowing the user's SID. 

open a command prompt and run the command whoami and hit enter. The command;s' output displays the logged in user. 

run the command again and use the option /user and it will display the SID of the user like this: 

           C:\whoami /user 



CLI Command to Display User SID

To display the local Windows User SID, no domain use the following command line 
       
          wmic useraccount where name='username' get sid

Please share this link and post so others could find these two simple solutions faster and easier. Thank you. 

Share/Save/Bookmark



Whether you're using the command line to get information or solve a problem for yourself, or helping a friend or users in your office or local home network. Administrators and just plain computer users can access desktops remotely with online software for desktop support. Online Software for PC Support permits access to desktop. Perform screen-sharing and run commands or diagnostics. It's software to remotely access for remote control desktop computers, laptops, and servers to provided better support.  Affordable Online Remote Support Software for web based desktop screen sharing with unlimited connections and sessions. Try now. .




   

Show Database Server Name and Status of Connection - Citrix Delivery Controller

Support


Share/Save/Bookmark

Xenapp/Xendesktop - Find or Show the Citrix SQL server name Quickly and Check the Status

By checking to see if we are currently and correctly connected to both the Monitor and Configuration Logging database, the SQL server name will be displayed int he process plus the status. 

Open PowerShell on the delivery controller , don't forget to open "as administrator". And run the following commands to show the Citrix SQL server configured Citrix Studio and Site

    asnp Citrix.*

   To verify if we are correctly connecting to the required database 

    Get-MonitorDatastore

    Get-LogDatastore


The results of running the above PowerShell commands are shown below. Easy simple commands to display the server's name configured for the Site/Citrix Farm 
I've blotched out some names but the server's name is shown in the connection string. 


Citrix Releases
 7.x and later, there could be separate databases for Monitoring and Logging so therefore, one Connection string for Monitor/Logging service points to the Citrix site's datastore and one string of Monitor/Logging service points to the Monitor/Logging datastore.



Citrix as we know, is a fantastic system for providing desktop access to users. Support remote desktops and remote servers and Enhance Support Services with Online Desktop Support Software.  Screen-Sharing Remote Access Online of Remote Computers within seconds. Online desktop software is not limited to physical desktops or servers but can be and is utilized by virtual machines just as well. All virtual machines are supported, not just vmware vcenter and Microsoft hyper-v.

A post from the past regarding when the Farm's servers are not displayed in the management console, Farm and Citrix Servers Not Listed or Displayed in Console . It may still be extremely useful today for those still running past XenApp/XenDesktop servers and services. 





Featured Post (Selected for You)

Using Microsoft Remote Desktop on a Windows 11 PC - A Step-by-Step Guide

A Step-by-Step Guide to Using Microsoft Remote Desktop on a Windows 11 PC. How to Setup and Access Microsoft Remote Desktop on a Windows 11 ...