Python Forum
How to become Administrator, once in Command Prompt
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to become Administrator, once in Command Prompt
#1
Hi all ! What is the quickest way, once I am on Command Prompt:
Quote:C:\Users\Sylvain
λ bcdedit
The boot configuration data store could not be opened.
Access is denied.
Reply
#2
As you use cmder now,here some setup tips that good to know.
[Image: xi70fk.jpg]
Setup administrator:
Output:
Right click on cmder.exe --> properties --> Change setup for all users --> Run this program as administrator --> mark on V

Shortcut to open Cmder in a chosen folder:
  1. Open a terminal as an Administrator
  2. Navigate to the directory you have placed Cmder
  3. Execute .\cmder.exe /REGISTER ALL If you get a message "Access Denied" ensure you are executing the command in an Administrator prompt.

ptpython work and look nice from cmder,it's a better REPL than than just start python.
pip install ptpython
[Image: mxL7WY.jpg]
Reply
#3
i may be wrong as i dont use windows much. But from what i know you cant. You have to open an admin terminal from the start. Then run your program.

You could also elevate wihtout prompting but that is not as secure
https://www.online-tech-tips.com/windows...oval-mode/
Recommended Tutorials:
Reply
#4
(Apr-03-2018, 01:13 PM)metulburr Wrote: You have to open an admin terminal from the start. Then run your program.
There is no need for this as i explain over.
(Apr-03-2018, 01:13 PM)metulburr Wrote: You could also elevate wihtout prompting but that is not as secure
It's convenient as i don't want prompting every time i use cmder(it's always admin).
cmd do i have prompting before elevate,but that's okay as i almost never use cmd.
Reply
#5
Thanks for your efforts. The only thing I succeeded is to install ptpython via C:\WINDOWS\system32
It works well on the above and also on cmder.
As for Administrator on cmder; no success: "failed to backup Conemu"
Since I can become Administrator with the old command prompt, there is not much harm.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  how to put history=0 in command prompt sylas 16 6,541 May-24-2018, 09:48 AM
Last Post: wavic
  Using command prompt on windows 10 sylas 4 3,400 Feb-28-2018, 08:59 AM
Last Post: Loughran

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020