Results 1 to 5 of 5

Thread: Files Run as Administrator issue

  1. #1
    Join Date
    Jan 2009
    Posts
    140

    Files Run as Administrator issue

    Hey guys!
    Windows Vista is very protective about how you work with it. It blocks access to some protected folders and files that you need to take ownership for some reason. My question is : Will i always have to run those files as right-clicking and selecting run as administrator? Can i just make some tweaks and then run it normally by double clicking? Everytime righ-clicking is too irritating... It makes me feel that Windows is controlling my computer and not me..! Help guys!

  2. #2
    Join Date
    Jan 2009
    Posts
    710

    Re: Files Run as Administrator issue

    Hey!
    I'll tell you Why is Vista To Strict. Windows XP was out with a lot of loop holes and security bugs! That was soon covered by SP1 and SP2. Microsoft doesn't want their Customers to be spending for third party security products untill very essential... So i guess you have to Run the files that way... It might be irritating but imagine your computer completely exposed to the internet and private...! This is a security issue... This will help you not not harm you obviously...! All the best...!

  3. #3
    Join Date
    Jan 2009
    Posts
    140

    Re: Files Run as Administrator issue

    Yeah, Yeah...
    Microsoft and their security...! I know what threats would be to my file if that feature is removed. But dude, this is my personal computer and nobody touches it without my concern and above it i have a password protected computer...! So i just want to remove that irritating stupid option...! Can anyone help me...!?

  4. #4
    Join Date
    Jan 2009
    Posts
    1,738

    Re: Files Run as Administrator issue

    Hey...!

    By using a small registry tweak, you can get around this. Doing so, you can take owership of the Bootscreen and the rest.

    • Open notepad and type paste the follwing code to it :

      Code:
      Windows Registry Editor Version 5.00
      
      
      [HKEY_CLASSES_ROOT\*\shell\runas]
      @="Take Ownership"
      "Extended"=""
      "NoWorkingDirectory"=""
      
      [HKEY_CLASSES_ROOT\*\shell\runas\command]
      @="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"
      "IsolatedCommand"="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"
      
      [HKEY_CLASSES_ROOT\Directory\shell\runas]
      @="Take Ownership"
      "Extended"=""
      "NoWorkingDirectory"=""
      
      [HKEY_CLASSES_ROOT\Directory\shell\runas\command]
      @="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant administrators:F /t"
      "IsolatedCommand"="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant administrators:F /t"
    • Now save the file and name it "Ownership.reg"
    • Now Run it to add it to registry and click yes.
    • Now paste the following code to notepad :

      Code:
      Windows Registry Editor Version 5.00
      
      [-HKEY_CLASSES_ROOT\exefile\shell\runas]
      .
    • Save as "RemoveAdmin.reg"
    • Run this too...
    • Now right click on any file, You will see take ownership and not Run as Admin option.
    • Click it once and done.
      Now just Run the file by double clicking... But you need to do this with every file or with a folder which has all the files...!
      All the best...!

  5. #5
    Join Date
    Jan 2009
    Posts
    1,738

    Re: Files Run as Administrator issue

    To revert to the original settings just copy these codes to notepad save as a reg file and run it...!

    To remove the Take Ownership Menu :

    Code:
    Windows Registry Editor Version 5.00
    
    
    [-HKEY_CLASSES_ROOT\*\shell\runas]
    
    [-HKEY_CLASSES_ROOT\Directory\shell\runas]
    To Add Run As Admin :

    Code:
    Windows Registry Editor Version 5.00
    
    [HKEY_CLASSES_ROOT\exefile\shell\runas]
    
    [HKEY_CLASSES_ROOT\exefile\shell\runas\command]
    @="\"%1\" %*"
    "IsolatedCommand"="\"%1\" %*"
    All the best and Enjoy...!

Similar Threads

  1. Replies: 8
    Last Post: 09-11-2011, 07:40 PM
  2. windows 7 - folder re-direction/offline files issue
    By Scott2580 in forum Windows Security
    Replies: 3
    Last Post: 06-05-2011, 07:40 PM
  3. Is it Possible To delete Administrator Permission Files
    By Depo in forum Operating Systems
    Replies: 3
    Last Post: 18-01-2011, 06:59 AM
  4. Replies: 3
    Last Post: 31-12-2010, 01:46 AM
  5. Replies: 2
    Last Post: 15-05-2008, 11:17 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,714,138,958.35542 seconds with 16 queries