start your command prompt with run as administrator code example Example: run command for admin cmd win + x + a