diff options
author | HarmJ0y <will@harmj0y.net> | 2016-12-14 11:53:29 -0500 |
---|---|---|
committer | HarmJ0y <will@harmj0y.net> | 2016-12-14 11:53:29 -0500 |
commit | 7964823e3f398c41a7ad1c0e8c4c28c0806a9c0d (patch) | |
tree | 57e9cfbba515d074f9ca77438245f8dfe46b62aa /docs/Privesc/Get-RegistryAlwaysInstallElevated.md | |
parent | 5da1774219284bbe1539675e84f5c8b4370b386e (diff) | |
download | PowerSploit-7964823e3f398c41a7ad1c0e8c4c28c0806a9c0d.tar.gz PowerSploit-7964823e3f398c41a7ad1c0e8c4c28c0806a9c0d.zip |
Added documentation for PowerUp
Diffstat (limited to 'docs/Privesc/Get-RegistryAlwaysInstallElevated.md')
-rwxr-xr-x | docs/Privesc/Get-RegistryAlwaysInstallElevated.md | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/docs/Privesc/Get-RegistryAlwaysInstallElevated.md b/docs/Privesc/Get-RegistryAlwaysInstallElevated.md new file mode 100755 index 0000000..ff48afc --- /dev/null +++ b/docs/Privesc/Get-RegistryAlwaysInstallElevated.md @@ -0,0 +1,45 @@ +# Get-RegistryAlwaysInstallElevated
+
+## SYNOPSIS
+Checks if any of the AlwaysInstallElevated registry keys are set.
+
+Author: Will Schroeder (@harmj0y)
+License: BSD 3-Clause
+Required Dependencies: None
+
+## SYNTAX
+
+```
+Get-RegistryAlwaysInstallElevated
+```
+
+## DESCRIPTION
+Returns $True if the HKLM:SOFTWARE\Policies\Microsoft\Windows\Installer\AlwaysInstallElevated
+or the HKCU:SOFTWARE\Policies\Microsoft\Windows\Installer\AlwaysInstallElevated keys
+are set, $False otherwise.
+If one of these keys are set, then all .MSI files run with
+elevated permissions, regardless of current user permissions.
+
+## EXAMPLES
+
+### -------------------------- EXAMPLE 1 --------------------------
+```
+Get-RegistryAlwaysInstallElevated
+```
+
+Returns $True if any of the AlwaysInstallElevated registry keys are set.
+
+## PARAMETERS
+
+## INPUTS
+
+## OUTPUTS
+
+### System.Boolean
+
+$True if RegistryAlwaysInstallElevated is set, $False otherwise.
+
+## NOTES
+
+## RELATED LINKS
+
|