.. generated, remove this comment to keep this file ``alternateshell`` ================== .. code-block:: console $ target-query -f alternateshell .. list-table:: Details :widths: 20 80 * - Module - ``os.windows.generic.GenericPlugin`` * - Output - ``records`` **Module documentation** Generic Windows plugin. Provides some plugins that don't fit in a separate plugin. **Function documentation** Return the AlternateShell registry key value. The AlternateShell registry key, HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Safeboot, specifies the shell that is used when a Windows system is started in "Safe Mode with Command Prompt". Can be leveraged as a persistence mechanism. References: - https://technet.microsoft.com/en-us/library/cc976124.aspx