![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | Script for Windows registry How can I do this in one batch to the Windows registry: 1 .- Give permission to a specific branch, but if you are first reviewed and permits, but give it. 2 .- To determine whether there is a key in a branch with a specified value, and if it does not exist, create it or change it. I tried to network and query reg add me but no result |
My System Specs![]() |
| | #2 (permalink) |
| | Re: Script for Windows registry "Salvador" <salvador.carrero@xxxxxx> wrote in message news:OzXuBYIhJHA.3716@xxxxxx Quote: > How can I do this in one batch to the Windows registry: > > 1 .- Give permission to a specific branch, but if you are first reviewed > and permits, but give it. > > 2 .- To determine whether there is a key in a branch with a specified > value, and if it does not exist, create it or change it. > > I tried to network and query reg add me but no result http://www.microsoft.com/technet/scr...y/default.mspx Also from "Microsoft Windows 2000 Scripting Guide": http://www.microsoft.com/technet/scr..._reg_utys.mspx Navigate in the TOC to the left to sub topics. For example, this link discusses registry subkey access rights: http://www.microsoft.com/technet/scr..._reg_dlby.mspx -- Richard Mueller MVP Directory Services Hilltop Lab - http://www.rlmueller.net -- |
My System Specs![]() |
| | #3 (permalink) |
| | Re: Script for Windows registry I have this script, but I detect if the server value is not equal to SRV1 changed to SRV2 ? setlocal ENABLEEXTENSIONS set KEY_NAME="HKEY_CURRENT_USER\Software\Microsoft\Software" set VALUE_NAME=Server FOR /F "usebackq skip=4 tokens=1-3" %%A IN (`REG QUERY %KEY_NAME% /v %VALUE_NAME% 2^>nul`) DO ( ???????????? "Richard Mueller [MVP]" <rlmueller-nospam@xxxxxx> wrote in message news:uvRAHuIhJHA.5724@xxxxxx Quote: > > "Salvador" <salvador.carrero@xxxxxx> wrote in message > news:OzXuBYIhJHA.3716@xxxxxx Quote: >> How can I do this in one batch to the Windows registry: >> >> 1 .- Give permission to a specific branch, but if you are first reviewed >> and permits, but give it. >> >> 2 .- To determine whether there is a key in a branch with a specified >> value, and if it does not exist, create it or change it. >> >> I tried to network and query reg add me but no result > These examples from the Script Center should get you started: > > http://www.microsoft.com/technet/scr...y/default.mspx > > Also from "Microsoft Windows 2000 Scripting Guide": > > http://www.microsoft.com/technet/scr..._reg_utys.mspx > > Navigate in the TOC to the left to sub topics. For example, this link > discusses registry subkey access rights: > > http://www.microsoft.com/technet/scr..._reg_dlby.mspx > > -- > Richard Mueller > MVP Directory Services > Hilltop Lab - http://www.rlmueller.net > -- > > |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Script: change in real time the key in the registry | VB Script | |||
| Script to Export Multiple registry values? | VB Script | |||
| Script: read a registry key | VB Script | |||
| Reading x86 or x64 registry from Powershell - Help with my script! | PowerShell | |||
| Script - Registry Redirection Issue | Vista installation & setup | |||