FlashHarry
New Member
- Joined
- May 19, 2009
- Messages
- 18
- Thread Author
-
- #1
Hi,
Was trying add a persistent route via the dos line i.e.
c:\route add 192.10.12.0 mask 255.255.255.0 192.10.11.254 -p
but on execution all the os kept on saying is
c:\the request operation requires elevation
am in local and domain admin groups, connected to the network etc etc
any ideas?
Was trying add a persistent route via the dos line i.e.
c:\route add 192.10.12.0 mask 255.255.255.0 192.10.11.254 -p
but on execution all the os kept on saying is
c:\the request operation requires elevation
am in local and domain admin groups, connected to the network etc etc
any ideas?
Solution
thanks dave,
you were right although I was doing it wrong, firstly I was using run, then cmd to get to the DOS Prompt (this is wrong as it will not give you a run as admin option from here)
Basically the work around was
you were right although I was doing it wrong, firstly I was using run, then cmd to get to the DOS Prompt (this is wrong as it will not give you a run as admin option from here)
Basically the work around was
- create shortcut to cmd.exe
- right click shortcut and select run as administrator
- enter the command line as above (yes -p is in the right place
)
- Joined
- May 1, 2008
- Messages
- 5,554
Right click the command prompt and "run as Administrator"
I am sure you know more than me - it is sometime since I needed to perform a static route. But I think the -p goes first in the line??
I am sure you know more than me - it is sometime since I needed to perform a static route. But I think the -p goes first in the line??
Last edited by a moderator:
FlashHarry
New Member
- Joined
- May 19, 2009
- Messages
- 18
- Thread Author
-
- #3
thanks dave,
you were right although I was doing it wrong, firstly I was using run, then cmd to get to the DOS Prompt (this is wrong as it will not give you a run as admin option from here)
Basically the work around was
you were right although I was doing it wrong, firstly I was using run, then cmd to get to the DOS Prompt (this is wrong as it will not give you a run as admin option from here)
Basically the work around was
- create shortcut to cmd.exe
- right click shortcut and select run as administrator
- enter the command line as above (yes -p is in the right place
)
Similar threads
- Replies
- 1
- Views
- 2K