Skip to content
This repository was archived by the owner on May 28, 2021. It is now read-only.
This repository was archived by the owner on May 28, 2021. It is now read-only.

Apply tweaks for all users / default user #243

Open
@Disassembler0

Description

@Disassembler0

This feature was often requested from the beginning (#5, #29 etc.), so it might be worth to look into it.

The basic idea would be to have a parameter (#241) to switch between single user and multiuser application. There are bunch of problems associated with that:

  • Some tweaks target registry keys which don't exist in default account registry hive, and even if they are created, they will be ignored, deleted or rewritten on first login
  • Multiuser application would require iterating over HKU subkeys where all the accounts are. There may be accounts for third party services, auxiliary accounts (e.g. nvidia drivers have one), domain accounts, roaming profiles etc. It's generally users' problem when something goes awry, but the script should be made safe enough not to cause total mayhem.
  • If a single registry modification is to be applied several places (once for each user), then there needs to be some logic which makes it that way and will work only for HKCU:\. To make this work, the registry hive can be spoofed by remapping the PSDrive root to keep the tweak code clean, but there still needs to be some common/shared part which will do the looping.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions