Skip to content

Permissions issues #2

Description

@chezy525

This script is awesome! However, I ran into two issues related to permissions:

  1. Windows Search service would automatically restart before the script was done. I just added commands to the Service-Stop and Serivce-Start functions to change the startup type:
    Set-Service -StartupType Disabled WSearch
    Set-Service -StartupType AutomaticDelayedStart WSearch

  2. Permissions for ALL subkeys, which first requires taking ownership for ALL subkeys. I initially missed the checkbox option to "Replace owner on subcontainers and objects". So, I had to change the owner back, then try again. Also, don't forget the checkbox option to "Replace all child object permission entries with inheritable permission entries from this object".

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions