Create batch file change registry key
Applies to. Software Distribution. Created Date. Apr 14, PM. Last Modified Date. Dec 10, PM. Article Number :. How To. Description There are many options for deploying a Registry key: Batch Files The topic of this article. Package Builder Executable Custom Vulnerability VBScript Before modifying or querying a registry key, it is important to understand the options available to you for doing so.
This document focuses on working with Registry keys in a batch file. How To - Answer. Sometimes you will see different folders for a user as follows: Administrator Administrator. ComputerName Administrator. Domain If a username has a. Accessing the Registry with a Batch File The way a batch file is written to deploy as a Distribution Package is different than the way it would be written to be run by a user who double clicks on it. REM Add a registry key and values with Regedit.
Article Promotion Level. Previous Article Number. Add a comment. Active Oldest Votes. You have a couple problems. Improve this answer. Sign up or log in Sign up using Google.
Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Follow us for the next articles where we will explain the methods to edit and delete keys and values from the registry. Add Registry Key Powershell. Add Registry Value PowerShell. Add Registry Key with regedit. Prev Article. Next Article. Mainstrike's comment looks good. Hey bud! Running in an elevated command prompt it works. I'm working on a work around for you. Krizz This person is a verified professional.
Verify your account to enable IT peers to see that you are a professional. OpenSubKey ":Winlogon".