Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Force notepad to run as administrator

04 May 2012   #21
luke127

Windows 7 Home Premium 64 bit at home and Windows 7 professional at school.
 
 

Glad I was able to help. I know about this sort of thing because I had an old PC drive which got recovered and I hadto change all the security settings to my account on THIS pc first lol wouldn't even allow me access to my own desktop!

As for notepad well I don't know much there. So you may have to ask someone else about that matter.


My System SpecsSystem Spec
.
21 Sep 2015   #22
dwsiddall

Windows 8.1 64 bit
 
 
Same issue

I have the same issue. Often I will be editing a file and only after making the edits and trying to save do I realize that the file type or save location requires an administrator privilege. So then I have to copy all the text to the clipboard, close the notepad, go to the notepad icon, right click it and choose "run as administrator" and then paste the text back in and save.

Not efficient and damned stupid. I agree with the Original Poster. We need to stop being treated like children who are going to break our toys. Nothing makes me madder than to spend thousands of dollars on hardware and software to then be told I am not "allowed" to save a file where I want to save it.

Then the people on here are just as bad with the questions of, "But why would you want to do that" and "No....there's a reason for that so you don't break it". Wow. Talk about sheep following the shepherd.

I would love to see a question asked, and then answered without all the second-guessing of motives and fake concerns for breaking the machine.
My System SpecsSystem Spec
21 Sep 2015   #23
UsernameIssues

W7 Pro SP1 64bit
 
 

Quote   Quote: Originally Posted by dwsiddall View Post
I have the same issue. Often I will be editing a file and only after making the edits and trying to save do I realize that the file type or save location requires an administrator privilege. So then I have to copy all the text to the clipboard, close the notepad, go to the notepad icon, right click it and choose "run as administrator" and then paste the text back in and save.

Not efficient and damned stupid. I agree with the Original Poster. We need to stop being treated like children who are going to break our toys. Nothing makes me madder than to spend thousands of dollars on hardware and software to then be told I am not "allowed" to save a file where I want to save it.

Then the people on here are just as bad with the questions of, "But why would you want to do that" and "No....there's a reason for that so you don't break it". Wow. Talk about sheep following the shepherd.

I would love to see a question asked, and then answered without all the second-guessing of motives and fake concerns for breaking the machine.
Given these conditions:
not lowering security settings
open file via double click from within Windows Explorer (file associations)
have the operating system prompt with UAC
If the UAC is accepted, open notepad with "admin rights".

There does not seem to be a way to accomplish that list for notepad. If you are willing to use another editor, then you should be able to set that editor's EXE to always run as admin via Properties > Comparability > Privilege Level.
My System SpecsSystem Spec
.

21 Sep 2015   #24
Jacee
Microsoft MVP

Windows 7 Ultimate 32bit SP1
 
 

My System SpecsSystem Spec
21 Sep 2015   #25
Layback Bear

Windows 10 Pro. 64/ version 1709 Windows 7 Pro/64
 
 

Try this.

Start Orb and type notepad.
Right tick and choose Properties then Advance.
Put a check mark in Run as administrator.
Okay and Apply out of notepad.
Reboot/Restart.
My System SpecsSystem Spec
21 Sep 2015   #26
UsernameIssues

W7 Pro SP1 64bit
 
 

Quote   Quote: Originally Posted by Layback Bear View Post
Try this.

Start Orb and type notepad.
Right tick and choose Properties then Advance.
Put a check mark in Run as administrator.
Okay and Apply out of notepad.
Reboot/Restart.
Those "given conditions" that I listed summarize what was requested in this thread. These users don't want to navigate to the file of interest using the Open dialog box from within notepad. They want to be able to double click on a file from within Windows Explorer and have the normal file association system open an editor with admin rights (after the UAC is accepted).
My System SpecsSystem Spec
21 Sep 2015   #27
Alejandro85

Windows 7 Ultimate x64
 
 

Quote   Quote: Originally Posted by dwsiddall View Post
Then the people on here are just as bad with the questions of, "But why would you want to do that" and "No....there's a reason for that so you don't break it". Wow. Talk about sheep following the shepherd.

I would love to see a question asked, and then answered without all the second-guessing of motives and fake concerns for breaking the machine.
It's called The XY Problem. You have a problem and instead of asking this concrete problem you ask about whatever attempt you've made to solve it. Bad thing with this is that the possible solution may be sub-optimal, or utterly wrong like this one. Knowing the root problem we can attempt more specialized solutions that you might not even though of.

For example, the OP was asking how to trash the OS security, but reading a bit further he says that that's because he wants to use the root C as a playground because of shorter paths. To comply with his post one could suggest disabling UAC, put notepad in compatibility, use the built-in administrator and other similar blunders. To help with his real problem one can suggest to use a path like c:\temp\test.txt, short enough and grant that full control, or create a subst of a folder within his profile.
My System SpecsSystem Spec
Reply

 Force notepad to run as administrator




Thread Tools




Similar help and support threads
Thread Forum
upgrading from Notepad 2 to Notepad 3, updating all Reg entires...
I have been using Notepad 2 for more then a decade.. sadly no new updates since 2012, BUT MP2 IS open-source :D http://www.flos-freeware.ch/notepad2.html https://www.rizonesoft.com/downloads/notepad3/ I recently discovered that some one has picked up the torch and forked the code and NOW...
Software
Notepad won't close force save?
Hello In notepad when I go to close "X out" it automatically gos to the desktop to save. There is no prompt to save or cloes without saving? Has anyone heard of this? I remember something like this happening when trying to print issues. Thanks
General Discussion
Logitech Driving Force EX - Force Feedback Motor Query
So... Before anyone tells me to send it to Logitech for repairs, I should mention that there are none that I know of in my area, and I'm not willing to pay R300 (ZAR) postage to send a big box 600km away to get my wheel 'checked'. Other than that, it's already nearly 3 years old and way out of...
Hardware & Devices
Can't open notepad as a administrator
I'm trying to open notepad as a administrator. I go to start\all programs\accessories\notepad and right click it. NOTHING I'm the only user account on this computer and it is a administrator account. So -- why don't I get any options when I right click it ???
General Discussion
problem from replaced notepad ++ with notepad
I find some post that saying can replace our notepad with notepad++ so I do it but now it had a problem with notepad++ because when I open every *.txt it ask to create new file....like this picture
Installation & Setup


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 01:57.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App