Script Builder to make registry changes

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #7577
    adcuser
    Member
    • Total Post: 6
    • Newbie

    I’m having difficulties applying a registry update to a c90le7 device via a package created using script builder.
    The .reg file is:
    “REGEDIT4”

    [HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionPoliciesAttachments]
    “SaveZoneInformation”=dword:00000001
    [HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionPoliciesAssociations]
    “LowRiskFileTypes”=”.exe;”

    I’ve tried applying via the Merge Registry command and also transferring a bat file & the .reg file the using the ‘execute on device’ command to run the bat file.
    Running the bat file (contains a regedit /s command) when logged onto the wyse device correctly applies the registry changes so the script / reg file sytax is correct.
    The package scripts runs successfully but no registy changes are applied.

    (running a different bat file to do housekeeping, referenced in the same package script, runs successfully)

    The write filter on the target wyse device is disabled.

    Any help would be appreciated.
    Thanks
    Mike

    #22976
    ConfGen
    Keymaster
    • Total Post: 11485
    • Jedi Master
    • ★★★★★★★

    If you are trying to push this reg file via WDM it will not work, because the scripts are executed on the device as SYSTEM and therefore HKCU will not work.
    You should write a batch which loads the user hive, makes the changes and unload it again.

    CG

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.