edit value in gpedit
Moderator: DosItHelp
edit value in gpedit
hi
i must edit a value in gpedit.exe
i most edit this:
gpedit.msc >> Computer Configuration >> Administrative Templates >> System >> Internet Communication Management >> Internet Communication settings >> Turn off access to all windows update features
Change Setting to Enabled.
How Can Do This With Command Line?
Thanks
i must edit a value in gpedit.exe
i most edit this:
gpedit.msc >> Computer Configuration >> Administrative Templates >> System >> Internet Communication Management >> Internet Communication settings >> Turn off access to all windows update features
Change Setting to Enabled.
How Can Do This With Command Line?
Thanks
Re: edit value in gpedit
sorry for span
no body not help me?
no body not help me?
Re: edit value in gpedit
You could use the registry, (Ref: http://technet.microsoft.com/en-us/library/dd939844(v=ws.10).aspx).
Example:
Example:
Code: Select all
@Echo Off & SetLocal
(Set _PWU=HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate)
Reg Add %_PWU% /V DisableWindowsUpdateAccess /T REG_DWORD /D 0 /F >Nul
Re: edit value in gpedit
Thanks Compo
i understand i can use this work with change registry value,but i need change (Control) value in gpedit.exe
there is no way to control value in gpedit.exe
i understand i can use this work with change registry value,but i need change (Control) value in gpedit.exe
there is no way to control value in gpedit.exe
Re: edit value in gpedit
SENDKEYS or an AutoIt script can control the GUI. Autohotkey can do it from a hotkey.
Re: edit value in gpedit
foxidrive wrote:SENDKEYS or an AutoIt script can control the GUI. Autohotkey can do it from a hotkey.
Thanks foxidrive
if is possible give me a example with Autohotkey for change value in gpedit.exe
Thanks
Re: edit value in gpedit
r2du-soft wrote:Thanks foxidrive
if is possible give me a example with Autohotkey for change value in gpedit.exe
Thanks
I tried to make gpedit.msc accept keyboard input but it seems that Windows recognises the scripted keyboard input and stops it working.
Re: edit value in gpedit
r2du-soft wrote:Thanks Compo
i understand i can use this work with change registry value,but i need change (Control) value in gpedit.exe
there is no way to control value in gpedit.exe
Please try and explain to me the reason why using the registry to toggle a group policy value is not acceptable. Other than that you'll need to look at Administrative Templates wuau.adm/wuau.admx.
This forum is based around the command line, and not really for controlling GUI's, (especially those which only edit the same values found in the registry).
Re: edit value in gpedit
r2du-soft wrote:Thanks Compo
i understand i can use this work with change registry value,but i need change (Control) value in gpedit.exe
there is no way to control value in gpedit.exe
If you modify the appropriate items in the registry and then open gpedit, you should see the changes. Don't you see the items changed?
Re: edit value in gpedit
when i change manualy value gpedit.msc:
gpedit.msc >> Computer Configuration >> Administrative Templates >> System >> Internet Communication Management >> Internet Communication settings >> Turn off access to all windows update features
Change Setting to Enabled.
i see change value in registry in
key:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Group Policy Objects\{81494A34-87BF-4CBC-8687-AF501E2A6590}Machine\Software\Policies\Microsoft\Windows\WindowsUpdate
name : DisableWindowsUpdateAccess
type : Dword
value : 1
but this have a big problem for change value to 1 with reg add. It is that {81494A34-87BF-4CBC-8687-AF501E2A6590} in address some times change! In principle {81494A34-87BF-4CBC-8687-AF501E2A6590} Is variable!
gpedit.msc >> Computer Configuration >> Administrative Templates >> System >> Internet Communication Management >> Internet Communication settings >> Turn off access to all windows update features
Change Setting to Enabled.
i see change value in registry in
key:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Group Policy Objects\{81494A34-87BF-4CBC-8687-AF501E2A6590}Machine\Software\Policies\Microsoft\Windows\WindowsUpdate
name : DisableWindowsUpdateAccess
type : Dword
value : 1
but this have a big problem for change value to 1 with reg add. It is that {81494A34-87BF-4CBC-8687-AF501E2A6590} in address some times change! In principle {81494A34-87BF-4CBC-8687-AF501E2A6590} Is variable!