Skip to content

Tool Cleanup Failure - Credentials left in registry #8

@AH-PTC

Description

@AH-PTC

Thanks for tool - still useful :)

Problem:

Removing Registry value from remote system

$null = Invoke-WmiMethod -Namespace 'root\default' -Class 'StdRegProv' -Name 'DeleteValue' -Argumentlist $reghive, $regpath, $registrydownname -ComputerName $RemoteComputer @optionalCreds

I could be missing something but "reghive" isn't defined - likely should be $HKLM?

Currently this command will fail, and credentials will be left in HKLM:\Software\Microsoft\DRM\ReadMe on each machine scanned?

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