776 links
  • Shared Bookmarks
  • Home
  • Login
  • RSS Feed
  • ATOM Feed
  • Tag cloud
  • Picture wall
  • Daily
Links per page: 20 50 100
1 results tagged alwaysinstallelevated x
  • Note: Setup vuln alwaysinstallelevated

    $RegistryPath1 = 'HKCU:\Software\Policies\Microsoft\Windows\Installer'
    $RegistryPath2 = 'HKLM:\Software\Policies\Microsoft\Windows\Installer'
    $Name = 'AlwaysInstallElevated'
    $Value = '1'

    Create the key if it does not exist

    New-Item -Path $RegistryPath1 -Force | Out-Null
    New-Item -Path $RegistryPath2 -Force | Out-Null

    Now set the value

    New-ItemProperty -Path $RegistryPath1 -Name $Name -Value $Value -PropertyType DWORD -Force
    New-ItemProperty -Path $RegistryPath2 -Name $Name -Value $Value -PropertyType DWORD -Force

    April 2, 2022 at 9:44:06 PM UTC - permalink -
    QRCode
    - https://shaarli.onemask.me/?-WEM-A
    alwaysinstallelevated msi windows privesc powershell
Links per page: 20 50 100
Shaarli - The personal, minimalist, super fast, database-free, bookmarking service by the Shaarli community - Help/documentation