command line run as admin code example Example 1: windows run as admin run 'Ctrl + Shift + Enter' instead of 'Enter' Example 2: run command for admin cmd win + x + a