Ventanas
Utilice las siguientes instrucciones para instalar manualmente la aplicación Password Boss
Notas rápidas: leer primero
Al realizar la instalación a través de un RMM, tenga en cuenta estos detalles.
El proceso de instalación de RMM se divide en dos partes.
- Un preinstalador que debe ejecutarse con derechos de administrador puede ejecutarse en cualquier momento, lo que significa que el usuario no necesita iniciar sesión.
- El instalador de Password Boss . La aplicación se instala en el directorio del perfil de Windows del usuario, lo que significa que debe iniciar sesión para instalar Password Boss . No necesita privilegios de administrador si el preinstalador y los requisitos previos ya se han ejecutado en el PC.
Instalación de la aplicación de Windows
- El instalador Password Boss para Windows está disponible como EXE y MSI.
- Ambas versiones del instalador se pueden instalar de forma silenciosa agregando al instalador los parámetros de línea de comando que se enumeran a continuación.
- La instalación inicial requiere derechos de administrador para el usuario, a menos que utilice el preinstalador a través de un RMM u otra herramienta de implementación, en cuyo caso la aplicación Password Boss se puede instalar sin derechos de administrador.
- Las actualizaciones posteriores de la aplicación una vez instalada no requieren derechos de administrador.
- El instalador de Windows (tanto la versión EXE como la MSI) consta de dos partes. El instalador auxiliar, ya sea EXE o MSI, rara vez cambia y puede añadirse a sus herramientas de implementación. Al ejecutarse, el instalador auxiliar descargará la última versión de la aplicación desde nuestros servidores, de modo que cada instalación siempre la instale.
Requisitos previos - Windows
Password Boss requiere la instalación de .Net 4.7.2** en cada estación de trabajo. La aplicación se instalará automáticamente durante una instalación manual.
Si está implementando con un RMM u otra instalación programada donde los usuarios finales no tienen derechos de administrador en sus estaciones de trabajo, deberá asegurarse de que estas aplicaciones estén instaladas antes de implementar Password Boss .
Instalación manual
- Visita https://www.passwordboss.com/download . El sitio web detectará tu sistema operativo y descargará el instalador adecuado.
- Después de descargar el instalador, ejecute el archivo y siga las instrucciones para instalarlo.
Implementación de RMM
Implementar Password Boss con su RMM elimina la necesidad de que los usuarios finales tengan derechos de administrador para la instalación. El proceso de instalación consta de dos pasos: las partes de Password Boss que requieren derechos de administrador se instalan mediante el preinstalador, que se ejecuta como administrador o sistema local, y el instalador principal de la aplicación cliente, que se ejecuta como usuario final.
- El preinstalador se puede ejecutar de forma masiva en todas las estaciones de trabajo administradas antes de la implementación real de la aplicación cliente.
- El preinstalador no tiene interfaz de usuario, se instala silenciosamente y no aparecerá en Agregar o quitar programas.
- El preinstalador realiza todos los cambios en el registro que requieren permisos de administrador. El preinstalador DEBE ejecutarse con permisos de administrador o de sistema local.
- Las configuraciones modificadas por el preinstalador se pueden eliminar ejecutando el preinstalador con el interruptor /uninstall.
La implementación de Password Boss a través de RMM es un proceso de 2 pasos
Paso 1: Implemente PBPreInstaller.exe como administrador o sistema.
Paso 2: Implemente Password_Boss.exe (o .msi) como usuario final mientras esté conectado. No implemente Password_Boss.exe como administrador o sistema.
Pasos de instalación
- Descargar el preinstalador
- Ejecute el preinstalador una vez por cada estación de trabajo administrada usando su RMM. No se requieren líneas de comando ni parámetros para la instalación.
- Si es necesario para solucionar problemas, puede habilitar el registro del preinstalador añadiendo el parámetro /verbose. Los registros se almacenan en la carpeta %TEMP% y se denominan PasswordBoss-PreInstall-[Date]{Time].log.
- Instale la aplicación cliente siguiendo las instrucciones a continuación, ya sea mediante EXE o MSI. La aplicación cliente DEBE ejecutarse como usuario final; de lo contrario, no funcionará.
Instrucciones de implementación genéricas con script
MSI
- Descargar el instalador MSI
- El instalador debe llamarse Password_Boss.msi
- Para ejecutar el instalador de forma silenciosa, agregue el parámetro EXEOPTIONS=" /q2" cuando ejecute el instalador:
Text
/path/to/Password_Boss.msi EXEOPTIONS="/q2"
**replace the "/path/to" with the path to where you downloaded the file to**
Nota: Sensible a mayúsculas y minúsculas
LAS EXENCIONES deben pasarse en MAYÚSCULAS.
- Para implementar la aplicación Password Boss en dispositivos remotos, invoque el instalador con la opción silenciosa desde su solución de distribución de software preferida.
- El instalador descargará automáticamente la última versión de Password Boss de Internet durante el proceso de instalación para que sus usuarios siempre tengan instalada la versión actual.
EXE
- Descargue el instalador EXE
- El instalador se llama Password_Boss.exe
- Para ejecutar el instalador de forma silenciosa, agregue el parámetro /q2 cuando ejecute el instalador:
Text
/path/to/Password_Boss.exe /q2
**replace the "/path/to" with the path to where you downloaded the file to**
- Para implementar la aplicación Password Boss en dispositivos remotos, invoque el instalador con la opción silenciosa desde su solución de distribución de software preferida.
- El instalador descargará automáticamente la última versión de Password Boss de Internet durante la instalación, por lo que sus usuarios siempre obtendrán la versión actual.
Instrucciones del script de PowerShell
Password Boss se puede implementar a través de scripts de PowerShell como alternativa a la creación de un script en una herramienta RMM.
La implementación de Password Boss a través de PowerShell es un proceso de 2 pasos
Paso 1: primero implemente PBPreClient.ps1 como administrador en el sistema
Paso 2: Implemente PBClient.ps1 como usuario final mientras esté conectado. No implemente Password_Boss.exe como administrador o sistema.
A continuación se muestra el script PBPreClient.ps1. En su sistema de implementación, debe ejecutar este script como administrador antes de instalar Password Boss . Este script descargará PreInsaller.exe y se implementará en el equipo como administrador. Copie y pegue el script a continuación en un bloc de notas y guarde el archivo como PBPreClient.ps1 antes de usarlo.
PBPreClient.ps1
# Copyright (c) 2024 Password
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in the
# documentation and/or other materials provided with the distribution.
# * Neither the name of the AutoElevate nor the names of its contributors
# may be used to endorse or promote products derived from this software
# without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
# DISCLAIMED. IN NO EVENT SHALL OPENDNS BE LIABLE FOR ANY DIRECT, INDIRECT,
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
# OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
# EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
<#
.SYNOPSIS
Installs the Password Preinstaller and Client
#>
# Set $DebugPrintEnabled = 1 to enabled debug log printing to see what's going on.
$DebugPrintEnabled = 1
$PreInstallerName = "PBPreInstaller.exe"
$InstallerPath = Join-Path $Env:TMP $PreInstallerName
$DownloadBase = "https://install.passwordboss.com"
$DownloadURL = $DownloadBase + "/" + $PreInstallerName
$ScriptFailed = "Script Failed!"
function Get-TimeStamp {
return "[{0:MM/dd/yy} {0:HH:mm:ss}]" -f (Get-Date)
}
function Debug-Print ($msg) {
if ($DebugPrintEnabled -eq 1) {
Write-Host "$(Get-TimeStamp) [DEBUG] $msg"
}
}
function Get-PreInstaller {
Debug-Print("Downloading installer...")
$WebClient = New-Object System.Net.WebClient
try {
$WebClient.DownloadFile($DownloadURL, $InstallerPath)
} catch {
$ErrorMessage = $_.Exception.Message
Write-Host "$(Get-TimeStamp) $ErrorMessage"
}
if ( ! (Test-Path $InstallerPath)) {
$DownloadError = "Failed to download the Password PreInstaller from $DownloadURL"
Write-Host "$(Get-TimeStamp) $DownloadError"
throw $ScriptFailed
}
Debug-Print("Installer downloaded to $InstallerPath...")
}
function Install-Agent () {
Debug-Print("Executing installer...")
Start-Process $InstallerPath -Wait
}
function Verify-Installation () {
Debug-Print("Verifying Installation...")
if ( ! (Get-ItemPropertyValue -Path "HKLM:\Software\PasswordBoss" -Name "PreInstall") -eq 'True') {
$VerifiationError = "The Preinstaller installation failed!"
Write-Host "$(Get-TimeStamp) $VerificationError"
throw $ScriptFailed
}
}
function main () {
Get-PreInstaller
Install-Agent
Verify-Installation
Write-Host "$(Get-TimeStamp) PBPreinstaller successfully installed!"
}
try
{
main
} catch {
$ErrorMessage = $_.Exception.Message
Write-Host "$(Get-TimeStamp) $ErrorMessage"
exit 1
}
A continuación se muestra el script PBClient.ps1. En su sistema de implementación, deberá ejecutar este script como el usuario que inició sesión después de ejecutar correctamente el script PBClient.ps1. Este script descargará el archivo Password_Boss.exe y lo ejecutará como usuario. Copie y pegue el script a continuación en un bloc de notas y guarde el archivo como PBClient.ps1 antes de usarlo.
PBClient.ps1
# Copyright (c) 2022 Password
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in the
# documentation and/or other materials provided with the distribution.
# * Neither the name of the AutoElevate nor the names of its contributors
# may be used to endorse or promote products derived from this software
# without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
# DISCLAIMED. IN NO EVENT SHALL OPENDNS BE LIABLE FOR ANY DIRECT, INDIRECT,
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
# OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
# EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
<#
.SYNOPSIS
Installs the Password Preinstaller and Client
#>
# Run powershell in a clean install
# PowerShell -ExecutionPolicy Bypass
# Set $DebugPrintEnabled = 1 to enabled debug log printing to see what's going on.
$DebugPrintEnabled = 1
$InstallerName = "Password_Boss.exe"
$InstallerPath = Join-Path $Env:TMP $InstallerName
$DownloadBase = "https://install.passwordboss.com"
$DownloadURL = $DownloadBase + "/" + $InstallerName
function Get-TimeStamp {
return "[{0:MM/dd/yy} {0:HH:mm:ss}]" -f (Get-Date)
}
function Debug-Print ($msg) {
if ($DebugPrintEnabled -eq 1) {
Write-Host "$(Get-TimeStamp) [DEBUG] $msg"
}
}
function Get-Installer {
Debug-Print("Downloading installer...")
$WebClient = New-Object System.Net.WebClient
try {
$WebClient.DownloadFile($DownloadURL, $InstallerPath)
} catch {
$ErrorMessage = $_.Exception.Message
Write-Host "$(Get-TimeStamp) $ErrorMessage"
}
if ( ! (Test-Path $InstallerPath)) {
$DownloadError = "Failed to download the Password Installer from $DownloadURL"
Write-Host "$(Get-TimeStamp) $DownloadError"
throw $ScriptFailed
}
Debug-Print("Installer downloaded to $InstallerPath...")
}
function Install-Agent () {
Debug-Print("Executing installer...")
$Arguments = "/q2"
Start-Process $InstallerPath -ArgumentList $Arguments -Wait
}
function Verify-Installation () {
Debug-Print("Verifying Installation...")
if ((Get-ItemProperty -Path "HKCU:\Software\PasswordBoss") -eq $null) {
$VerifiationError = "The Installer installation failed!"
Write-Host "$(Get-TimeStamp) $VerificationError"
throw $ScriptFailed
}
}
function main () {
Get-Installer
Install-Agent
Verify-Installation
Write-Host "$(Get-TimeStamp) Password Client successfully installed!"
}
try
{
main
} catch {
$ErrorMessage = $_.Exception.Message
Write-Host "$(Get-TimeStamp) $ErrorMessage"
exit 1
}