Windows 10: How to propagate a registry key from HKEY_LOCAL_MACHINE to HKEY_CURRENT_USER

Discus and support How to propagate a registry key from HKEY_LOCAL_MACHINE to HKEY_CURRENT_USER in Windows 10 Customization to solve the problem; Hello I have a script that creates a registry key to HKEY_LOCAL_MACHINE HKLM. I try to use the feature that duplicates a registry key from... Discussion in 'Windows 10 Customization' started by Pekkapek, Apr 15, 2021.

  1. Pekkapek Win User

    How to propagate a registry key from HKEY_LOCAL_MACHINE to HKEY_CURRENT_USER


    [COLOR=rgba51, 51, 51, 1]Hello[/COLOR]

    [COLOR=rgba51, 51, 51, 1]I have a script that creates a registry key to HKEY_LOCAL_MACHINE HKLM. I try to use the feature that duplicates a registry key from HKEY_LOCAL_MACHINE to HKEY_CURRENT_USER.[/COLOR]

    [COLOR=rgba51, 51, 51, 1]The script is following.[/COLOR]


    [COLOR=rgba51, 51, 51, 1][COLOR=rgba153, 153, 136, 1]# Create registry key for all users in HKCU using registry key progation[/COLOR][/COLOR]

    [COLOR=rgba74, 74, 74, 1][COLOR=rgba0, 128, 128, 1]$regPath[/COLOR] = [COLOR=rgba208, 16, 64, 1]'HKLM:\SOFTWARE\Microsoft\Office\16.0\User Settings\MyCustomUserSettings\Create\Software\Microsoft\Office\16.0\Common\General'[/COLOR][COLOR=rgba153, 153, 136, 1]# Supress file format prompt[/COLOR][COLOR=rgba0, 128, 128, 1]$name[/COLOR] = [COLOR=rgba208, 16, 64, 1]"ShownFileFmtPrompt"[/COLOR][COLOR=rgba0, 128, 128, 1]$value[/COLOR] = 1[COLOR=rgba0, 134, 179, 1]New-Item[/COLOR] -Path [COLOR=rgba0, 128, 128, 1]$regPath[/COLOR] -Force [/COLOR]

    [COLOR=rgba51, 51, 51, 1][COLOR=rgba0, 134, 179, 1]New-ItemProperty[/COLOR][COLOR=rgba74, 74, 74, 1] [/COLOR][COLOR=rgba0, 128, 128, 1]$regPath[/COLOR][COLOR=rgba74, 74, 74, 1] -Name [/COLOR][COLOR=rgba0, 128, 128, 1]$name[/COLOR][COLOR=rgba74, 74, 74, 1] -Value [/COLOR][COLOR=rgba0, 128, 128, 1]$value[/COLOR][COLOR=rgba74, 74, 74, 1] -Force[/COLOR][/COLOR]


    [COLOR=rgba51, 51, 51, 1]The propagation seems not working. I started Word but the key is not present in HKEY_CURRENT_USER.[/COLOR]


    [COLOR=rgba51, 51, 51, 1] How to propagate a registry key from HKEY_LOCAL_MACHINE to HKEY_CURRENT_USER 76568d57-5855-4b03-a5cc-005a8362fd48?upload=true.jpg [/COLOR]


    [COLOR=rgba51, 51, 51, 1]I use Windows 10 Pro 64 bit. Any suggestions how to make the propagation to work?[/COLOR]

    :)
     
    Pekkapek, Apr 15, 2021
    #1
  2. budi Win User

    Registry strange behavior in HKEY_CURRENT_USER\Software\Microsoft\...

    I tried to clear all contents of
    HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts
    then set security permission to logger user name () to be clear from:

    • create key
    • set value
    and let it inherently apply to all keys under it

    But it responds with icons flickering / blinking very often
    so I undo the security setting.. but while keeping on registry browsing under this key I came across:

    1. The jpg filetype key and userchoice key were created
    2. On userchoice key the logging user () ACL was created, and
    3. It's set to DENY on SET VALUE !


    How to propagate a registry key from HKEY_LOCAL_MACHINE to HKEY_CURRENT_USER [​IMG]


    Is it windows 10 behavior or an intruder's been screwing up ?
    Please help me.. many thanks in advance
     
  3. W1zzard Win User
    timeshift product key recovery

    check the registry .. somewhere below hkey_local_machine/software and hkey_current_user/software
     
    W1zzard, Apr 15, 2021
    #3
  4. asyntax Win User

    How to propagate a registry key from HKEY_LOCAL_MACHINE to HKEY_CURRENT_USER

    ATITool registry key

    Hello,

    During ATITool installation, the following registry key was added to my registry:

    "HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Class\{85b5ddd0-e090-4b15-bdf2-a443a3ca0b66}"

    After uninstalling the program, this key remained. I tried to delete it through the registry editor but it returned the following error:

    "Cannot delete {85b5ddd0-e090-4b15-bdf2-a443a3ca0b66}: Error while deleting key."

    I'm running Vista Home Premium 32-bit by the way. I also tried to change permissions for the key and deleting in safe mode, but neither of those worked either.

    Any ideas on how i can remove this key? Any help is appreciated, thanks.
     
    asyntax, Apr 15, 2021
    #4
Thema:

How to propagate a registry key from HKEY_LOCAL_MACHINE to HKEY_CURRENT_USER

Loading...
  1. How to propagate a registry key from HKEY_LOCAL_MACHINE to HKEY_CURRENT_USER - Similar Threads - propagate registry key

  2. HKEY_CURRENT_USER registry change does not save in Audit Mode

    in Windows 10 Installation and Upgrade
    HKEY_CURRENT_USER registry change does not save in Audit Mode: I am preparing a Lenovo Flex 4 laptop for Windows Out of Box Experience (OOBE). Looks like Lenovo's default touchpad driver configuration is misconfigured such that two finger tap (right click) does not work. I found setting the registry under...
  3. How to find registry keys?

    in Windows 10 Customization
    How to find registry keys?: Is there some sort of search bar in regedit? Not the adress bar. https://answers.microsoft.com/en-us/windows/forum/all/how-to-find-registry-keys/01b9ae4f-69e6-4e9c-892b-c59539c06898
  4. Registry subfolders empty in HKEY_CURRENT_USER

    in Windows 10 Customization
    Registry subfolders empty in HKEY_CURRENT_USER: I was about to look through my registry to clean some old things up, but before I could I noticed that under HKEY_CURRENT_USER all the subfolders had weird titles as if using an incompatible font, and each contain an empty default registry. This is probably over a thousand...
  5. Certificates are not propagated - Certificate Propagation Service

    in Windows 10 Drivers and Hardware
    Certificates are not propagated - Certificate Propagation Service: I have a problem using a Smart Card. For some reason it doesn't propagate certificates automatically, the only way it propagates is by locking the windows screen, and unlocking again. I understand that propagation is done automatically only when connecting my card to the...
  6. Can user create a registry key value under HKEY_LOCAL_MACHINE??

    in Windows 10 Customization
    Can user create a registry key value under HKEY_LOCAL_MACHINE??: Hello, I am looking for a solution where a non admin PC should read a reagistry value "EnableSelectiveSuspend" under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\USB\ROOT_HUB20\4&18851ac7&0\Device Parameters. But actually the value is not present when the Power...
  7. Registry keys registry keys

    in Windows 10 Customization
    Registry keys registry keys: Where can I customize the file type/extension icon? John 137822
  8. How to copy/create a reg key to every user in hkey_current_user?

    in Windows 10 Support
    How to copy/create a reg key to every user in hkey_current_user?: Hey Guys Does anyone know how I can create a reg key that only get installed once for every user in hkey_current user? I've heard I can create one in hklm and from there it can be copied to hcu ? Thanks. 132049
  9. Remapping key FROM REGISTRY

    in Windows 10 Customization
    Remapping key FROM REGISTRY: My 'delete' key doesn't work anymore. I'd like to remap it to the 'insert' key. I've tried EVERY. SINGLE. Third party program. I've tried Microsoft's program for remapping. None have worked. I want to go straight through the registry so I can do ctrl-alt-del. I haven't...
  10. Registry strange behavior in HKEY_CURRENT_USER\Software\Microsoft\...

    in AntiVirus, Firewalls and System Security
    Registry strange behavior in HKEY_CURRENT_USER\Software\Microsoft\...: I tried to clear all contents of HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts then set security permission to logger user name () to be clear from: create key set value and let it inherently apply to all keys under it But it...