How do I run a program as administrator in Windows Vista? Updated: 0. 4/2. 6/2. Computer Hope. Windows Vista introduced UAC, which helps protect your computer by not allowing any program to have administrative rights unless properly granted. In some situations, it may be necessary to run a program as administrator for that program to run or install properly or have all the capabilities that it needs. To run a program as administrator follow the steps below. Note: Windows 7 and Windows 8 also includes UAC. ![]() We here at AskVG regularly share Windows tips-n-tricks and most of these tips include. The use of the Administrator account is being phased out in Windows Vista, and there’s actually seldom a need to use it, instead of another administrator account. Note: You must be logged into an account with administrative privileges. Right- click the program or shortcut you want to run as administrator and choose the option Run as administrator. Next, click Continue once prompted for your permission. ![]() ![]() ![]() ![]() Sometimes to apply a Registry tweak, you need to first take ownership and control of the Registry key to be able to change the key value. To take ownership and control of a Registry key, you need to follow a set of some simple steps which have been mentioned in following exclusive tutorial. That's why to make your life easier, we are going to share another easy way to take ownership of Registry keys in Windows quickly and easily. ![]() Today in this tutorial, we are going to share a few methods which will allow you to take ownership and grant permission and full control on any Registry key in Windows from command line. It would be the simplest, easiest and quickest way to take ownership of Registry keys in Windows. You'll just need to run one or two commands in Command Prompt and it'll automatically take ownership of the Registry key and will grant you full permission and control on that key. So if you also want to automate the process of taking ownership of Registry keys in Windows, check out following methods: All of these methods will work in all Windows versions! So without wasting time lets start the tutorial: METHOD 1: Take Ownership of Registry Keys Using Set. ACL Utility. This is the best way to take ownership of Registry keys as well as any file or folder from command line in Windows. This method will work 1. Windows versions. Set. ACL is a 3rd party free utility which basically works like a DOS command. You just need to download the utility file and then run the required commands in Command Prompt to take ownership of any desired Registry key. STEP 1: First of all download the Set. ACL Utility from following link: Download Set. ACL Utility. Just click on the EXE version given for Administrators to download the correct file. STEP 2: After downloading extract the ZIP file and you'll get 2 versions of the utility: one for 3. Windows edition and the other for 6. Windows edition. You'll need to use the correct EXE file compatible with your Windows edition. If you are using 3. Windows edition, use the Set. ACL. exe file present in 3. Windows edition, use the Set. ACL. exe file present in 6. ![]() ![]() ![]() You can know about your Windows edition from System Properties. STEP 3: Now there are 2 ways to use this utility. You can either keep the Set. ACL. exe file anywhere you want for example E: \Set. ACL folder and then open Command Prompt window as Administrator and then use the full path of Set. ACL command E: \Set. ACL\Set. ACL. exe to run the command. Or you can copy the Set. ACL. exe file to C: \Windows\System. Set. ACL command from anywhere. We'll advise you to copy the EXE file to C: \Windows\System. Command Prompt as Administrator from anywhere and can run Set. ACL command directly without any problem. STEP 4: Now once you have copied the Set. ACL. exe file, its time to use the command to take ownership of Registry keys. Why it's happening. This isn't the problem of not running the Settings app as an Administrator. Those settings are controlled by Group Policy. It appears by default. No worries if you forgot the admin password. Here are 12 ways to reset the Windows administrator password on Windows 8.1, Windows 8, Windows 7, Vista and Windows XP. How to bypass Windows 7, vista and xp administrator password. Summary: Are you trying to bypass Windows 7,vista and xp password? This post shows you 3 top ways to. Set. ACL command can be executed using following syntax in Command Prompt opened as Administrator: Set. ACL - onname- ottype- actnaction. Now lets talk about the syntax in details: The terms given in Bold will remain intact and the terms given in Italic will change as following: -on: This parameter requires to provide the name and full path of a file or a folder or a Registry key which you want to take ownership of.- ot: This parameter requires to provide object type. If you want to take ownership of a file or folder, then set object type as file. If you want to take ownership of Registry key, set object type as reg- actn: This parameter requires to provide action details i. There are many possible values for - actn parameter. Since we are going to use Set. ACL command to take ownership and grant permission on Registry keys, we'll use setowner and ace values only. To better understand the command syntax, lets take an example: Suppose we want to take ownership of HKEY. It'll automatically take ownership and assign full permission and control on that Registry key. PS: There are many parameter available to use with Set. ACL command, you can read about all of them from the official documentation page: Set. ACL Syntax and Parameters Description. METHOD 2: Take Ownership of Registry Keys Using Sub. In. ACL Utility. This is an official command- line tool released by Microsoft which can be used to view and change security information, ownership, permissions, etc of files, folders, Registry keys, services, etc in Windows operating system. Although the tool was released for Windows 2. XP and Server 2. 00. Windows versions as well. You can use this tool with the help of following steps: STEP 1: First of all download the Sub. In. ACL utility from following link: Download Sub. In. ACL Tool from Microsoft. STEP 2: Its an MSI installer file which copies the Sub. In. ACL. exe file to . Or you can copy the Sub. In. ACL. exe file to C: \Windows\System. Sub. In. ACL command from anywhere. We'll advise you to copy the EXE file to C: \Windows\System. Command Prompt as Administrator from anywhere and can run Sub. In. ACL. exe command directly without any problem. STEP 4: Now its time to learn how to use the Sub. In. ACL. exe command. You can run the command using following syntax in Command Prompt window opened as Administrator: Sub. In. ACL/type name /action. Now lets talk about the syntax in details: /type: Replace type with the correct object type. If you want to take ownership of a file or folder, then replace type with file and if you want to take ownership of a Registry key, replace type with keyreg or subkeyreg. The difference between keyreg and subkeyreg is that keyreg only takes ownership of the defined Registry key but the subkeyreg will take ownership of the defined key as well as all sub- keys present under it. Replace this parameter with the name and full path of the file, folder or Registry key./action: This parameter requires to define the action which will be taken on the object. Since we are going to take ownership of the Registry key and then grant full permission and control on the key, we'll use /setowner=administrators /grant=administrators=f as the action. Again lets take an example to better understand the command syntax: SUBINACL /keyreg . It'll automatically take ownership and assign full permission and control on that Registry key. PS: To know about all parameters of Sub. In. ACL command, just run the Sub. In. ACL /help command in Command Prompt and it'll provide full list of the complete syntax and parameters. METHOD 3: Set Permissions on Registry Keys Using Built- in REGINI Command. This command comes bundled with Windows OS and can be used to set permissions on Registry keys. Using this command is very simple. You first need to create a script with required parameters in Notepad and save the script as . REGINI command with correct parameters to grant full permissions on the desired Registry key. STEP 1: First open Notepad and provide desired Registry key name and desired permission set aka ACL (Access Control List) using following format: Key. So make sure to include permissions for all accounts. If you forget to include permissions for an account such as SYSTEM account, it'll be deleted from the accounts list present in that Registry key permissions. STEP 2: Save the file with any desired name for example ACL. TXT and then open Command Prompt as Administrator and run following command: REGINIfull. It'll immediately change the permissions on the mentioned Registry key.=== === === === === === === === ===That's it. Method 1 is the most efficient and 1. Registry key in any Windows version. If you have any doubts, feel free to ask it in your comment.. Also Check: Share this article: Facebook.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
November 2017
Categories |