Login to Account Create an Account
How to open files as Administrator?
Posted 16 December 2009 - 09:58 AM
Other programs, such as Scite and Flash are not picky like that and I can edit things and save them without running as Administrator.
How can I make Notepad work the way I want it to?
Posted 16 December 2009 - 10:06 AM
Posted 16 December 2009 - 10:10 AM
Posted 17 December 2009 - 08:38 AM
It should be possible to also add the command to the "default" action for the file type, i.e. the one that is executed by double clicking.
This definately seems to be on the right track, but .txt files have a different registry layout than Zip or Compressed Files do. For example, it has:
Would I export ShellNew? Not sure how to continue with that.
No Cluberti, I do not get UAC prompts, it just says access denied. The files are on a separate data drive. I do not save anything into my profile.
Posted 17 December 2009 - 08:54 AM
Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\txtfile\shell\runas] [HKEY_CLASSES_ROOT\txtfile\shell\runas\command] @=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\ 00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,4e,00,4f,00,\ 54,00,45,00,50,00,41,00,44,00,2e,00,45,00,58,00,45,00,20,00,25,00,31,00,00,\ 00Here are the main keys I looked at.
Edited by MrJinje, 17 December 2009 - 08:56 AM.
Posted 17 December 2009 - 09:09 AM
I know opening them as admin gives you a work-around, but honestly this is pretty odd behavior (especially if you're already in the admin group).
Posted 18 December 2009 - 10:02 AM
First, I am not only in the Administrators group, I actually log in as the Local Admin account. However, the HDD with my data on it is from my old computer, which ran Server 2003. Could this possibly be the reason? The file ownership and SID are likely different from the OS drive than the data drive.
I just did a quick test. Notepad cannot save a file to the old data drive, but can save to the one that was formatted by this computer.
Posted 18 December 2009 - 03:05 PM
Posted 18 December 2009 - 11:41 PM
Indeed, just check the box that says "replace all child object permissions with inheritable permissions from this object" and you're set, Trip Saves a lot of time going through all the folders / files on the drive
That is actually exactly why it's happening. Take ownership of everything on the drive and push more appropriate permissions down afterwards, and things should clear up.
Posted 22 December 2009 - 08:47 AM
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users