Problem with set-registrykey

//Problem with set-registrykey
Problem with set-registrykey2016-04-20T15:59:54+00:00

The Toolkit Forums General Problem with set-registrykey

  • Author
    Posts
  • Dan
    Participant
    Post count: 13

    I have a simple deployment script that makes some registry changes to the values that are set by the installer.

    Set-RegistryKey -Key ‘HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\blahblahblah’ -Name ‘blahblahblah’ -Value ‘00000bb5’ -Type DWORD

    This should take the existing value name “blahblahblah” and change the value from “something” to “00000bb5”.

    It changes the value, but it also changes the existing DWORD to a String.

    How can I prevent it from converting it to a string?

  • Dan
    Participant
    Post count: 13

    I think I figured it out. I need to enter the decimal equivalent, not the Hex into the line.

  • Dan
    Participant
    Post count: 13

    I think I figured it out. I need to enter the decimal equivalent, not the Hex into the line.

You must be logged in to reply to this topic.