![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | Re: Elevation from Command Line? I haven't tried it. But intuitively it seems if you click Start > All Programs, right-click Command Prompt, and choose Run As Administrator, you should be good to go. I think you'll be a system Admin rather than a member of the Local Admins group. "ionixuk" <ionixuk@discussions.microsoft.com> wrote in message news:2C4F81FE-FAAA-4677-A370-6FC5934DEEB7@microsoft.com... > Hey there, anyone know how to run a command from CMD in elevated mode (or > whatever it's called..!) > > For example, how would I run SFC /SCANNOW with elevated permissions direct > from the command line? I can't be bothered with doing all the > create-a-shortcut-and-tick-those-boxes things... ![]() |
My System Specs![]() |
| | #2 (permalink) |
| | Elevation from Command Line? Hey there, anyone know how to run a command from CMD in elevated mode (or whatever it's called..!) For example, how would I run SFC /SCANNOW with elevated permissions direct from the command line? I can't be bothered with doing all the create-a-shortcut-and-tick-those-boxes things... ![]() |
My System Specs![]() |
| | #3 (permalink) |
| | Re: Elevation from Command Line? Ahaaa cunning.... thanks...!!Anyone aware of a command like runas or runelev or runaway or something like that? "Puppy Breath" wrote: > I haven't tried it. But intuitively it seems if you click Start > All > Programs, right-click Command Prompt, and choose Run As Administrator, you > should be good to go. I think you'll be a system Admin rather than a member > of the Local Admins group. > > "ionixuk" <ionixuk@discussions.microsoft.com> wrote in message > news:2C4F81FE-FAAA-4677-A370-6FC5934DEEB7@microsoft.com... > > Hey there, anyone know how to run a command from CMD in elevated mode (or > > whatever it's called..!) > > > > For example, how would I run SFC /SCANNOW with elevated permissions direct > > from the command line? I can't be bothered with doing all the > > create-a-shortcut-and-tick-those-boxes things... ![]() > > |
My System Specs![]() |
| | #4 (permalink) |
| | Re: Elevation from Command Line? Create a shortcut to cmd.exe and in the properties pick Always run as administrator. Whenever you run this shortcut it will be elevated. -- Kerry Brown Microsoft MVP - Shell/User http://www.vistahelp.ca "ionixuk" <ionixuk@discussions.microsoft.com> wrote in message news:93B29CDD-ED23-4652-9CF5-39712466059F@microsoft.com... > Ahaaa cunning.... thanks...!!> > Anyone aware of a command like runas or runelev or runaway or something > like > that? > > "Puppy Breath" wrote: > >> I haven't tried it. But intuitively it seems if you click Start > All >> Programs, right-click Command Prompt, and choose Run As Administrator, >> you >> should be good to go. I think you'll be a system Admin rather than a >> member >> of the Local Admins group. >> >> "ionixuk" <ionixuk@discussions.microsoft.com> wrote in message >> news:2C4F81FE-FAAA-4677-A370-6FC5934DEEB7@microsoft.com... >> > Hey there, anyone know how to run a command from CMD in elevated mode >> > (or >> > whatever it's called..!) >> > >> > For example, how would I run SFC /SCANNOW with elevated permissions >> > direct >> > from the command line? I can't be bothered with doing all the >> > create-a-shortcut-and-tick-those-boxes things... ![]() >> >> |
My System Specs![]() |
| | #5 (permalink) |
| | Re: Elevation from Command Line? Thanks K - yup someone gave me this one earlier. I'm most interested in knowing how to elevate from just one command tho - it also seems to me to be the safer option, especially, for example, if you're doing it from a command line batch script, or something... "Kerry Brown" wrote: > Create a shortcut to cmd.exe and in the properties pick Always run as > administrator. Whenever you run this shortcut it will be elevated. > > -- > Kerry Brown > Microsoft MVP - Shell/User > http://www.vistahelp.ca > > > "ionixuk" <ionixuk@discussions.microsoft.com> wrote in message > news:93B29CDD-ED23-4652-9CF5-39712466059F@microsoft.com... > > Ahaaa cunning.... thanks...!!> > > > Anyone aware of a command like runas or runelev or runaway or something > > like > > that? > > > > "Puppy Breath" wrote: > > > >> I haven't tried it. But intuitively it seems if you click Start > All > >> Programs, right-click Command Prompt, and choose Run As Administrator, > >> you > >> should be good to go. I think you'll be a system Admin rather than a > >> member > >> of the Local Admins group. > >> > >> "ionixuk" <ionixuk@discussions.microsoft.com> wrote in message > >> news:2C4F81FE-FAAA-4677-A370-6FC5934DEEB7@microsoft.com... > >> > Hey there, anyone know how to run a command from CMD in elevated mode > >> > (or > >> > whatever it's called..!) > >> > > >> > For example, how would I run SFC /SCANNOW with elevated permissions > >> > direct > >> > from the command line? I can't be bothered with doing all the > >> > create-a-shortcut-and-tick-those-boxes things... ![]() > >> > >> > > |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Elevation from command line | PowerShell | |||
| Running a command from inside a script, command line is corrupted | PowerShell | |||
| command line | Vista General | |||
| What is the command line command for unzipping files? | Vista General | |||
| Command Line Ren (Rename) command broken? | Vista General | |||