Using the keyboard alone on Windows 7 or Windows 8, how can I open a privileged command prompt window with built-in tools?  I've unsucessfully tried Windows+R -> cmd -> runas /user:Administrator cmd but the resulting cmd doesn't run with administrator privileges (due to UAC )  I'm looking for a sudo equivalent essentially, without the mouse.  I've seen thus far. Is that the best way currently?
121394
Currently (In Windows 10) - if I want to open a CMD prompt, I'll hit the Windows key, type CMD and hit Enter. If I want it open as an administrator, I have to right click the item and click Run As administrator. Is there a way I can do this without using the mouse?
31030
I'm want to grant a user administrative rights to one application on Windows 7. I don't want them to be able to have full admin rights, but admin rights are required for one of the applications they need to use.   Is there a way to set up a batch script or something where the user won't know it's being run as admin?  Or is there another way?  How can I accomplish this?
40232
In win7, when I want to restart computer via keyboard until my operating system hasn't been loaded yet, I press Ctrl+Alt+Del.  What is equivalent to this command in Ubuntu?  (Note that I'm not asking for Task manager).  I wish to restart it if, for example, I pressed F10 but BIOS didn't load successfully so I have to reboot it. I really don't like brute way (using physical shutdown button).
110082
I'm used to a Mac keyboard and that means my finger expect to find the shortcut key to the left of the spacebar. How can I turn the Windows key--command (⌘) key on a Mac keyboard) into the Control key and vice versa?
63120
I know that almost everything on Windows, like opening any sort of application, can be done from the command prompt or from the Run menu.  How can I put my computer to sleep or shut it down? What is the command for that?
98180
Is it possible to make the password visible as asterisks (or any other character) on using sudo command?  Currently, it does not display anything, thus making it difficult to count the number of keystrokes pressed..
53790
How do I run as a different user on a shortcut in Windows 7?   On Windows XP, I had the ability to mark a shortcut as being run by a different user, so that every time I ran it it would prompt me for a username/password. This let me have two shortcuts for things like , one for my normal account and one for my domain administrator account which has access to production servers.  I can get to the 'Run as different user' option with Shift + right-click, but I can't see an option anywhere that would let me mark the shortcut as doing this every time.
62007
I have a fairly simple batch file which does just one thing - "net start myservice". This batch file gets shortcut-ed in a program group by installer so that users can simply click on the icon and get things started (or stopped). All works well in XP for the users with admin rights. But things get hairy on Win7 as the batch need to be run "as administrator" explicitly and often users don't know this. So my question is how to make this friendly? Telling users to right click and run as admin on Win7 and simply click on XP is kind of weird twist. I need a smart automatic simple thingy.  I could probably use "runas/user:administrator" in the batch itself, but this "administrator" account might not be available on some machines. I'm looking for a universal solution for installing things like this on any Windows box.   Ideas? How would you do this?
114992
How can I make command aliases in Windows' Command Prompt like I would with bash?  I found out about doskey in , so I can do something like:  doskey ls=dir /b   ...and now the command ls acts a little more like ls on Unix.  (I type ls so often in cmd, it isn't even funny.)  But how do I get this to stick between sessions?  It goes away the next time I open cmd.exe.  (Is there something like .bash_profile?)
15539
How can I run a CMD or .bat file in silent mode? I'm looking to prevent the CMD interface from being shown to the user.
87180
Currently, for all my commands that require root access, I have to type them out on a command line.  I would like for the GUI to prompt me to key in my password, when sudo is required, instead of having to type out the commands from command line.  Is there any way to enable this? Previously one version of Ubuntu desktop had this feature out of the box.  This version of Ubuntu (that I am now running) I upgraded from a server installation.  I will add, my user account is already added to sudo group. Thus I can run commands such as sudo gedit or sudo apt-get but I'm not able to install software in the Ubuntu Software Center.
30578
Am currently working on a business process automation software and literally user actions are simulated by robots. I need to pass some information to the start menu of my windows 7 and i was wondering if the windows start menu could be opened using a powershell script? As the information to open a powershell can be understood by the robots. Please any suggestions would be nice.
66925
I need to automate the pressing of the  key then pressing 5 digits then press  in Windows 7 64-bit.  I have an app that comes up on the screen and I need the "script" to press the keys.  I don't even need mouse support.  What can I use to do this?  Any examples or links?
121406
Is it possible to automatically launch an application from a USB flash drive (bypassing windows prompt asking user what he wants to do)? on windows XP or vista.  I looked into "autorun.inf" and "open" entry seems to work only for CD drives for Windows XP SP2+ and Vista. Is it possible to launch program automatically on all windows versions?  I don't care if autorun is disabled by user in Windows settings.
41566
When clicking on "Advanced system settings", I need to login as the administrator and hence only edit the administrators environment variables (in addition to the machine wide ones). How do I edit the environment variables of a standard user?  Details  With the migration to Windows 7, I decided to work as a standard user instead of an unprivileged administrator. Works well so far but I encountered a tiny problem:  When I try to change per user environment variables via the control panel I have to login as an administrator. But since I run that part of the control panel as the administrator I can only edit the administrators variables.   How am I supposed to edit my own environment variables?  Without resorting to extreme measures, such as editing the registry (as suggested in  )
62353
I would like to know what the best way to get a computer running Windows 8 or 8.1 into the light blue Advanced Startup Options menu is.  Also list the ways to get into Safe Mode if different from the ways above.  If possible, account for the fact that something is wrong with the computer and they cannot log in. Also, while I realize that SHIFT+F8 is a good way to get into the menu, most computers nowadays are "too fast" to see it.  My video drivers are broken, so it's kind of hard to open a command prompt. I'm not even sure if I am logged in or not.
21410
My new Windows XP work computer's command prompt automatically brings up "H:\&gt;" when I open it.  Is there a way for me to change that safely?  Specifically, to "C:\foo\bar\Something Else"?  I found the method of changing the Autorun value through Google, but it came with a warning that it "might affect the functionality of batch scripts."  Bonus note: I was originally getting at this issue in , but I didn't ask very directly.  The answer I ended up accepting was really good, so I wanted to leave it there.