{"id":257863,"date":"2024-05-22T08:28:04","date_gmt":"2024-05-22T08:28:04","guid":{"rendered":"https:\/\/www.ninjaone.com\/?post_type=script_hub&#038;p=257863"},"modified":"2024-05-22T08:28:04","modified_gmt":"2024-05-22T08:28:04","slug":"bginfo-powershell-bereitstellung","status":"publish","type":"script_hub","link":"https:\/\/www.ninjaone.com\/de\/script-hub\/bginfo-powershell-bereitstellung\/","title":{"rendered":"Systemmanagement optimieren BGInfo PowerShell-Bereitstellungsskript"},"content":{"rendered":"<h2>Die wichtigsten Erkenntnisse<\/h2>\n<ul>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"1\" data-list-defn-props=\"{&quot;335552541&quot;:1,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;\uf0b7&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}\" data-aria-posinset=\"1\" data-aria-level=\"1\"><strong>Automatisierte BGInfo-Bereitstellung<\/strong>: Das Skript bietet eine nahtlose, automatisierte Methode zur Bereitstellung von BGInfo auf mehreren Windows-Systemen.<\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"1\" data-list-defn-props=\"{&quot;335552541&quot;:1,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;\uf0b7&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}\" data-aria-posinset=\"2\" data-aria-level=\"1\"><strong>Effizienz f\u00fcr IT-Fachleute<\/strong>: Spart Zeit und reduziert den manuellen Aufwand f\u00fcr IT-Experten und MSPs bei der Verwaltung von Systeminformationsanzeigen.<\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"1\" data-list-defn-props=\"{&quot;335552541&quot;:1,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;\uf0b7&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}\" data-aria-posinset=\"3\" data-aria-level=\"1\"><strong>Anpassbare Konfiguration<\/strong>: Erm\u00f6glicht die Anpassung an unterschiedliche Umgebungen und Anforderungen durch einen konfigurierbaren Parameter.<\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"1\" data-list-defn-props=\"{&quot;335552541&quot;:1,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;\uf0b7&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}\" data-aria-posinset=\"4\" data-aria-level=\"1\"><strong>Administrative Berechtigungen erforderlich<\/strong>: Das Skript muss mit Administratorrechten ausgef\u00fchrt werden, um auf Systemverzeichnisse zugreifen und Einstellungen \u00e4ndern zu k\u00f6nnen.<\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"1\" data-list-defn-props=\"{&quot;335552541&quot;:1,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;\uf0b7&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}\" data-aria-posinset=\"5\" data-aria-level=\"1\"><strong>Fehlerbehandlung und Robustheit<\/strong>: Umfassende Fehlerbehandlung, die Zuverl\u00e4ssigkeit und klare Kommunikation w\u00e4hrend der Ausf\u00fchrung gew\u00e4hrleistet.<\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"1\" data-list-defn-props=\"{&quot;335552541&quot;:1,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;\uf0b7&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}\" data-aria-posinset=\"6\" data-aria-level=\"1\"><strong>Sicherheitsbewusstsein<\/strong>: Es ist wichtig, sich der von BGInfo angezeigten Informationen bewusst zu sein, um die Preisgabe sensibler Daten zu vermeiden.<\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"1\" data-list-defn-props=\"{&quot;335552541&quot;:1,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;\uf0b7&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}\" data-aria-posinset=\"7\" data-aria-level=\"1\"><strong>Skalierbarkeit und Konsistenz<\/strong>: Sorgt f\u00fcr eine einheitliche Anzeige der Systeminformationen auf allen Rechnern in einem Unternehmen.<\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"1\" data-list-defn-props=\"{&quot;335552541&quot;:1,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;\uf0b7&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}\" data-aria-posinset=\"8\" data-aria-level=\"1\"><strong>Kompatibilit\u00e4t mit modernen Windows-Systemen<\/strong>: Unterst\u00fctzt in erster Linie Windows 10 und Windows Server 2016 aufw\u00e4rts.<\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"1\" data-list-defn-props=\"{&quot;335552541&quot;:1,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;\uf0b7&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}\" data-aria-posinset=\"9\" data-aria-level=\"1\"><strong>Erg\u00e4nzend zu umfassenden IT-Tools<\/strong>: Funktioniert gut in Verbindung mit umfassenderen IT-Verwaltungsplattformen wie NinjaOne f\u00fcr mehr Transparenz und Kontrolle.<\/li>\n<\/ul>\n<p>In der sich st\u00e4ndig weiterentwickelnden Landschaft der Informationstechnologie sind die effiziente Verwaltung und Konfiguration von IT-Systemen von entscheidender Bedeutung. BGInfo, ein bekanntes Tool in der Windows-Umgebung, spielt in dieser Hinsicht eine wichtige Rolle. Dieses Tool zeigt wichtige Systeminformationen im Hintergrund des Desktops an und erweist sich damit als unsch\u00e4tzbar wertvoll f\u00fcr IT-Expert:innen und <a href=\"https:\/\/www.ninjaone.com\/what-is-an-msp\/\">Managed Service Provider (MSPs)<\/a>. Heute stellen wir ein PowerShell-Skript vor, das f\u00fcr die nahtlose Installation und Konfiguration von BGInfo auf Windows-Systemen entwickelt wurde.<\/p>\n<h2>Hintergrund<\/h2>\n<p>BGInfo, Teil der Sysinternals Suite, ist seit Jahren ein fester Bestandteil in den Werkzeugkisten von IT-Experten. Es zeigt Systeminformationen wie IP-Adresse, Computername und Betriebssystemversion auf dem Desktop an und bietet einen schnellen Einblick in die Systemkonfiguration. In einer Welt, in der schneller Informationszugriff und System\u00fcberwachung von entscheidender Bedeutung sind, ist die Automatisierung der Bereitstellung von BGInfo mithilfe eines PowerShell-Skripts sowohl eine Zeitersparnis als auch eine Effizienzsteigerung, insbesondere f\u00fcr IT-Experten und MSPs, die mehrere Computer verwalten.<\/p>\n<h2>Das Skript:<\/h2>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"powershell\">#Requires -Version 2.0\r\n\r\n&lt;#\r\n.SYNOPSIS\r\n    Downloads, installs and sets up BGInfo to run for all users.\r\n.DESCRIPTION\r\n    Downloads, installs and sets up BGInfo to run for all users.\r\n    Uses the default configuration if no .bgi file path or URL is specified.\r\n\r\n    Note: Users that are already logged in will need to logout and login to have BGInfo update their desktop background.\r\n\r\n.EXAMPLE\r\n    (No Parameters)\r\n    ## EXAMPLE OUTPUT WITHOUT PARAMS ##\r\n    Create Directory: C:\\WINDOWS\\System32\\SysInternals\r\n    Downloading https:\/\/live.sysinternals.com\/Bginfo.exe\r\n    Created Shortcut: C:\\ProgramData\\Microsoft\\Windows\\Start Menu\\Programs\\Startup\\BGInfo.lnk\r\n\r\n.EXAMPLE\r\n    -Config C:\\BGInfo\\config.bgi\r\n    Specifies the BGInfo configuration file to use.\r\n\r\nPARAMETER: -Config C:\\BGInfo\\config.bgi\r\n    ## EXAMPLE OUTPUT WITHOUT PARAMS ##\r\n    Create Directory: C:\\WINDOWS\\System32\\SysInternals\r\n    Downloading https:\/\/live.sysinternals.com\/Bginfo.exe\r\n    Created Shortcut: C:\\ProgramData\\Microsoft\\Windows\\Start Menu\\Programs\\Startup\\BGInfo.lnk\r\n.OUTPUTS\r\n    None\r\n.NOTES\r\n    Minimum OS Architecture Supported: Windows 10, Windows Server 2016\r\n    Release Notes: Renamed script and added Script Variable support\r\nBy using this script, you indicate your acceptance of the following legal terms as well as our Terms of Use at https:\/\/www.ninjaone.com\/terms-of-use.\r\n    Ownership Rights: NinjaOne owns and will continue to own all right, title, and interest in and to the script (including the copyright). NinjaOne is giving you a limited license to use the script in accordance with these legal terms. \r\n    Use Limitation: You may only use the script for your legitimate personal or internal business purposes, and you may not share the script with another party. \r\n    Republication Prohibition: Under no circumstances are you permitted to re-publish the script in any script library or website belonging to or under the control of any other software provider. \r\n    Warranty Disclaimer: The script is provided \u201cas is\u201d and \u201cas available\u201d, without warranty of any kind. NinjaOne makes no promise or guarantee that the script will be free from defects or that it will meet your specific needs or expectations. \r\n    Assumption of Risk: Your use of the script is at your own risk. You acknowledge that there are certain inherent risks in using the script, and you understand and assume each of those risks. \r\n    Waiver and Release: You will not hold NinjaOne responsible for any adverse or unintended consequences resulting from your use of the script, and you waive any legal or equitable rights or remedies you may have against NinjaOne relating to your use of the script. \r\n    EULA: If you are a NinjaOne customer, your use of the script is subject to the End User License Agreement applicable to you (EULA).\r\n#&gt;\r\n\r\n[CmdletBinding()]\r\nparam (\r\n    [Parameter()]\r\n    [string]$Config\r\n)\r\n\r\nbegin {\r\n    if ($env:bginfoConfigFilePath -and $env:bginfoConfigFilePath -notlike \"null\") { $Config = $env:bginfoConfigFilePath }\r\n    function Test-IsElevated {\r\n        $id = [System.Security.Principal.WindowsIdentity]::GetCurrent()\r\n        $p = New-Object System.Security.Principal.WindowsPrincipal($id)\r\n        $p.IsInRole([System.Security.Principal.WindowsBuiltInRole]::Administrator)\r\n    }\r\n\r\n    function New-Shortcut {\r\n        [CmdletBinding()]\r\n        param(\r\n            [Parameter()]\r\n            [String]$Arguments,\r\n            [Parameter()]\r\n            [String]$IconPath,\r\n            [Parameter(ValueFromPipeline = $True)]\r\n            [String]$Path,\r\n            [Parameter()]\r\n            [String]$Target,\r\n            [Parameter()]\r\n            [String]$WorkingDir\r\n        )\r\n        process {\r\n            Write-Host \"Creating Shortcut at $Path\"\r\n            $ShellObject = New-Object -ComObject (\"WScript.Shell\")\r\n            $Shortcut = $ShellObject.CreateShortcut($Path)\r\n            $Shortcut.TargetPath = $Target\r\n            if ($WorkingDir) { $Shortcut.WorkingDirectory = $WorkingDir }\r\n            if ($Arguments) { $ShortCut.Arguments = $Arguments }\r\n            if ($IconPath) { $Shortcut.IconLocation = $IconPath }\r\n            $Shortcut.Save()\r\n\r\n            if (!(Test-Path $Path -ErrorAction SilentlyContinue)) {\r\n                Write-Error \"Unable to create Shortcut at $Path\"\r\n                exit 1\r\n            }\r\n        }\r\n    }\r\n    # Utility function for downloading files.\r\n    function Invoke-Download {\r\n        param(\r\n            [Parameter()]\r\n            [String]$URL,\r\n            [Parameter()]\r\n            [String]$Path,\r\n            [Parameter()]\r\n            [int]$Attempts = 3,\r\n            [Parameter()]\r\n            [Switch]$SkipSleep\r\n        )\r\n        Write-Host \"URL given, Downloading the file...\"\r\n\r\n        $SupportedTLSversions = [enum]::GetValues('Net.SecurityProtocolType')\r\n        if ( ($SupportedTLSversions -contains 'Tls13') -and ($SupportedTLSversions -contains 'Tls12') ) {\r\n            [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol::Tls13 -bor [System.Net.SecurityProtocolType]::Tls12\r\n        }\r\n        elseif ( $SupportedTLSversions -contains 'Tls12' ) {\r\n            [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::Tls12\r\n        }\r\n        else {\r\n            # Not everything requires TLS 1.2, but we'll try anyway.\r\n            Write-Warning \"TLS 1.2 and or TLS 1.3 are not supported on this system. This download may fail!\"\r\n            if ($PSVersionTable.PSVersion.Major -lt 3) {\r\n                Write-Warning \"PowerShell 2 \/ .NET 2.0 doesn't support TLS 1.2.\"\r\n            }\r\n        }\r\n\r\n        $i = 1\r\n        While ($i -le $Attempts) {\r\n            # Some cloud services have rate-limiting\r\n            if (-not ($SkipSleep)) {\r\n                $SleepTime = Get-Random -Minimum 3 -Maximum 15\r\n                Write-Host \"Waiting for $SleepTime seconds.\"\r\n                Start-Sleep -Seconds $SleepTime\r\n            }\r\n        \r\n            if ($i -ne 1) { Write-Host \"\" }\r\n            Write-Host \"Download Attempt $i\"\r\n\r\n            try {\r\n                # Invoke-WebRequest is preferred because it supports links that redirect, e.g., https:\/\/t.ly\r\n                if ($PSVersionTable.PSVersion.Major -lt 4) {\r\n                    # Downloads the file\r\n                    $WebClient = New-Object System.Net.WebClient\r\n                    $WebClient.DownloadFile($URL, $Path)\r\n                }\r\n                else {\r\n                    # Standard options\r\n                    $WebRequestArgs = @{\r\n                        Uri                = $URL\r\n                        OutFile            = $Path\r\n                        MaximumRedirection = 10\r\n                        UseBasicParsing    = $true\r\n                    }\r\n\r\n                    # Downloads the file\r\n                    Invoke-WebRequest @WebRequestArgs\r\n                }\r\n\r\n                $File = Test-Path -Path $Path -ErrorAction SilentlyContinue\r\n            }\r\n            catch {\r\n                Write-Warning \"An error has occurred while downloading!\"\r\n                Write-Warning $_.Exception.Message\r\n\r\n                if (Test-Path -Path $Path -ErrorAction SilentlyContinue) {\r\n                    Remove-Item $Path -Force -Confirm:$false -ErrorAction SilentlyContinue\r\n                }\r\n\r\n                $File = $False\r\n            }\r\n\r\n            if ($File) {\r\n                $i = $Attempts\r\n            }\r\n            else {\r\n                Write-Warning \"File failed to download.\"\r\n                Write-Host \"\"\r\n            }\r\n\r\n            $i++\r\n        }\r\n\r\n        if (-not (Test-Path $Path)) {\r\n            throw \"Failed to download file!\"\r\n        }\r\n        else {\r\n            Write-Host \"Download Successful!\"\r\n        }\r\n    }\r\n\r\n    function Install-SysInternalsTool {\r\n        [CmdletBinding()]\r\n        param()\r\n        # Target directory is %WinDir%C:\\Windows\\System32\\SysInternals\r\n        $TargetDir = Join-Path -Path $env:WinDir -ChildPath \"System32\\SysInternals\"\r\n\r\n        # Tools to be downloaded\r\n        $Tools = @(\r\n            [PSCustomObject]@{\r\n                Name     = \"Bginfo\"\r\n                FileName = \"Bginfo.exe\"\r\n                URL      = \"https:\/\/live.sysinternals.com\/Bginfo.exe\"\r\n            }\r\n        )\r\n\r\n        # Create Directory\r\n        if (-not $(Test-Path $TargetDir -ErrorAction SilentlyContinue)) {\r\n            Write-Host \"Create Directory: $TargetDir\"\r\n            New-Item -ItemType Directory -Path $TargetDir -Force -ErrorAction SilentlyContinue\r\n        }\r\n\r\n        # Download tools to target directory\r\n        try {\r\n            foreach ($Tool in $Tools) {\r\n                $FilePath = Join-Path $TargetDir $Tool.FileName\r\n                Write-Host \"Downloading $($Tool.Name) to $FilePath\"\r\n                Invoke-Download -URL $Tool.URL -Path $FilePath\r\n            }\r\n        }\r\n        catch {\r\n            throw $_\r\n        }\r\n    }\r\n    function Register-BGInfoStartup {\r\n        [CmdletBinding()]\r\n        param(\r\n            [Parameter()][string]$Config\r\n        )\r\n        $ExePath = Join-Path -Path $env:WinDir -ChildPath \"System32\\SysInternals\\BGInfo.exe\"\r\n        if (-not $(Test-Path -Path $ExePath -ErrorAction SilentlyContinue)) {\r\n            throw \"BGInfo.exe is not found at $ExePath\"\r\n        }\r\n\r\n        # Register Startup command for All User\r\n        try {\r\n            $StartupPath = Join-Path -Path $env:ProgramData -ChildPath \"Microsoft\\Windows\\Start Menu\\Programs\\StartUp\\StartupBGInfo.lnk\"\r\n            \r\n            if ($(Test-Path -Path $StartupPath -ErrorAction SilentlyContinue)) {\r\n                Remove-Item -Path $StartupPath -ErrorAction SilentlyContinue\r\n            }\r\n            if ($Config -and $(Test-Path -Path $Config -ErrorAction SilentlyContinue)) {\r\n                New-Shortcut -Path $StartupPath -Arguments \"\/iq `\"$Config`\" \/accepteula \/timer:0 \/silent\" -Target $ExePath\r\n            }\r\n            else {\r\n                New-Shortcut -Path $StartupPath -Arguments \"\/accepteula \/timer:0 \/silent\" -Target $ExePath\r\n            }\r\n\r\n            Write-Host \"Created Startup: $StartupPath\"\r\n        }\r\n        catch {\r\n            throw \"Unable to create shortcut for BGInfo.exe\"\r\n        }\r\n    }\r\n}\r\nprocess {\r\n    if (-not (Test-IsElevated)) {\r\n        Write-Error -Message \"Access Denied. Please run with Administrator privileges.\"\r\n        exit 1\r\n    }\r\n\r\n    try {\r\n        Install-SysInternalsTool\r\n\r\n        if ($Config) {\r\n            if (-not $(Test-Path -Path $Config -ErrorAction SilentlyContinue)) {\r\n                try {\r\n                    if (-not (Test-Path -Path \"$Env:PROGRAMDATA\\SysInternals\" -ErrorAction SilentlyContinue)) {\r\n                        New-Item -ItemType Directory -Path \"$Env:PROGRAMDATA\\SysInternals\" -Force\r\n                    }\r\n                    Invoke-Download -URL $Config -Path $(Join-Path -Path $env:PROGRAMDATA -ChildPath \"SysInternals\\bginfoConfig.bgi\")\r\n                    $Config = $(Join-Path -Path $env:PROGRAMDATA -ChildPath \"SysInternals\\bginfoConfig.bgi\")\r\n                }\r\n                catch {\r\n                    Write-Error \"Failed to download from provided Url or that the Path to the specified file does not exist.\"\r\n                    Write-Error $_\r\n                    exit 1\r\n                }\r\n            }\r\n            Register-BGInfoStartup -Config $Config\r\n        }\r\n        else {\r\n            Register-BGInfoStartup\r\n        }\r\n    }\r\n    catch {\r\n        Write-Error $_\r\n        exit 1\r\n    }\r\n\r\n    Write-Host \"Successfully installed and set up bginfo. Bginfo will start the next time the end user logs in or restarts.\"\r\n    exit 0\r\n}\r\nend {\r\n    \r\n    \r\n    \r\n}<\/pre>\n<p>&nbsp;<\/p>\n\n<div class=\"in-context-cta\"><p>Zugriff auf \u00fcber 300 Skripte im NinjaOne Dojo<\/p>\n<p><a href=\"https:\/\/www.ninjaone.com\/freetrialform\/\">Zugang erhalten<\/a><\/p>\n<\/div>\n<h2>Detaillierte Aufschl\u00fcsselung<\/h2>\n<p>Das Skript arbeitet in mehreren Stufen:<\/p>\n<ul>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"1\" data-list-defn-props=\"{&quot;335552541&quot;:1,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;\uf0b7&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}\" data-aria-posinset=\"1\" data-aria-level=\"1\"><strong>Konfiguration der Parameter<\/strong>: Es beginnt damit, dass die Benutzer:innen \u00fcber den Parameter <strong>$Config<\/strong> eine Konfigurationsdatei angeben kann. Wenn kein spezifischer Pfad f\u00fcr die Konfigurationsdatei angegeben wird, wird standardm\u00e4\u00dfig eine Standardkonfiguration verwendet.<\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"1\" data-list-defn-props=\"{&quot;335552541&quot;:1,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;\uf0b7&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}\" data-aria-posinset=\"2\" data-aria-level=\"1\"><strong>Berechtigungspr\u00fcfung<\/strong>: Das Skript \u00fcberpr\u00fcft, ob es mit Administratorrechten ausgef\u00fchrt wird, was entscheidend ist, um auf Systemverzeichnisse zuzugreifen und Starteinstellungen zu \u00e4ndern.<\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"1\" data-list-defn-props=\"{&quot;335552541&quot;:1,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;\uf0b7&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}\" data-aria-posinset=\"3\" data-aria-level=\"1\"><strong>Herunterladen und Installieren von BGInfo<\/strong>: Das Skript erstellt ein Verzeichnis unter <strong>C:\\WINDOWS\\System32\\SysInternals<\/strong> und l\u00e4dt BGInfo von der offiziellen Sysinternals-Live-Site herunter. Es behandelt m\u00f6gliche Probleme beim Herunterladen, wie TLS-Inkompatibilit\u00e4t und Wiederholungslogik.<\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"1\" data-list-defn-props=\"{&quot;335552541&quot;:1,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;\uf0b7&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}\" data-aria-posinset=\"3\" data-aria-level=\"1\">Einrichten<strong>der Startverkn\u00fcpfung<\/strong>: Das Skript erstellt eine Verkn\u00fcpfung im gemeinsamen Startordner. Dadurch wird sichergestellt, dass BGInfo bei der Anmeldung f\u00fcr alle Benutzer:innen ausgef\u00fchrt wird. Es kann eine bestimmte Konfigurationsdatei oder Standardeinstellungen verwenden.<\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"1\" data-list-defn-props=\"{&quot;335552541&quot;:1,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;\uf0b7&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}\" data-aria-posinset=\"3\" data-aria-level=\"1\"><strong>Fehlerbehandlung<\/strong>: Das gesamte Skript enth\u00e4lt eine robuste Fehlerbehandlung, die sicherstellt, dass alle Probleme der Benutzer:innen klar mitgeteilt werden.<\/li>\n<\/ul>\n<h2>M\u00f6gliche Anwendungsf\u00e4lle<\/h2>\n<p>Stellen Sie sich ein Szenario vor, in dem ein MSP BGInfo f\u00fcr eine Flotte von Windows-Rechnern in einer Unternehmensumgebung bereitstellen muss. Dieses Skript automatisiert den Prozess, reduziert manuelle Eingriffe und gew\u00e4hrleistet eine einheitliche BGInfo-Konfiguration f\u00fcr alle Systeme.<\/p>\n<h2>Vergleiche<\/h2>\n<p>Traditionell w\u00fcrde die Bereitstellung von BGInfo eine manuelle Installation und Konfiguration auf jedem Rechner erfordern. Dieses Skript spart nicht nur Zeit, sondern verringert auch die Wahrscheinlichkeit von menschlichen Fehlern. Im Vergleich zur manuellen Bereitstellung ist dies ein skalierbarer und zuverl\u00e4ssiger Ansatz.<\/p>\n<h2>FAQs<\/h2>\n<ul>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"1\" data-list-defn-props=\"{&quot;335552541&quot;:1,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;\uf0b7&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}\" data-aria-posinset=\"3\" data-aria-level=\"1\"><strong>Kann dieses Skript f\u00fcr verschiedene Konfigurationen angepasst werden? <\/strong><br \/>\nJa, indem Sie den Parameter <strong>$Config<\/strong> \u00e4ndern.<\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"1\" data-list-defn-props=\"{&quot;335552541&quot;:1,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;\uf0b7&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}\" data-aria-posinset=\"4\" data-aria-level=\"1\"><strong>Funktioniert dieses Skript auf allen Windows-Versionen? <\/strong><br \/>\nEs unterst\u00fctzt Windows 10, Windows Server 2016 und aufw\u00e4rts.<\/li>\n<\/ul>\n<h2>Auswirkungen<\/h2>\n<p>Obwohl das Skript die Bereitstellung vereinfacht, ist es wichtig, sich \u00fcber die Auswirkungen auf die Sicherheit im Klaren zu sein. Es muss sichergestellt werden, dass die BGInfo-Konfiguration nicht versehentlich sensible Informationen auf dem Desktop-Hintergrund preisgibt.<\/p>\n<h2>Empfehlungen<\/h2>\n<ul>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"1\" data-list-defn-props=\"{&quot;335552541&quot;:1,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;\uf0b7&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}\" data-aria-posinset=\"5\" data-aria-level=\"1\">Testen Sie das Skript immer in einer kontrollierten Umgebung, bevor Sie es in gro\u00dfem Umfang einsetzen.<\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"1\" data-list-defn-props=\"{&quot;335552541&quot;:1,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;\uf0b7&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}\" data-aria-posinset=\"6\" data-aria-level=\"1\">Aktualisieren Sie das Skript regelm\u00e4\u00dfig, um es an neue Windows-Updates und Sysinternals-Versionen anzupassen.<\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"1\" data-list-defn-props=\"{&quot;335552541&quot;:1,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;\uf0b7&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}\" data-aria-posinset=\"7\" data-aria-level=\"1\">Seien Sie vorsichtig mit den von BGInfo angezeigten Informationen und ber\u00fccksichtigen Sie dabei den Sicherheitskontext Ihrer Umgebung.<\/li>\n<\/ul>\n<h2>Abschlie\u00dfende \u00dcberlegungen<\/h2>\n<p>Im Rahmen der <a href=\"https:\/\/www.ninjaone.com\/de\/endpoint-management\/it-ueberwachungs-software\/\">Systemverwaltung und -\u00fcberwachung<\/a> k\u00f6nnen Tools wie NinjaOne solche Skripte erg\u00e4nzen, indem sie eine<a href=\"https:\/\/www.ninjaone.com\/\">umfassende Plattform f\u00fcr das IT-Management<\/a>bieten. NinjaOne bietet eine Reihe von Funktionen, die mit den Erkenntnissen von BGInfo zusammenwirken und die Transparenz und Kontrolle der IT-Infrastruktur insgesamt verbessern.<\/p>\n","protected":false},"author":35,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"_relevanssi_hide_post":"","_relevanssi_hide_content":"","_relevanssi_pin_for_all":"","_relevanssi_pin_keywords":"","_relevanssi_unpin_keywords":"","_relevanssi_related_keywords":"","_relevanssi_related_include_ids":"","_relevanssi_related_exclude_ids":"","_relevanssi_related_no_append":"","_relevanssi_related_not_related":"","_relevanssi_related_posts":"","_relevanssi_noindex_reason":"","_lmt_disableupdate":"no","_lmt_disable":""},"operating_system":[4212],"use_cases":[4381],"class_list":["post-257863","script_hub","type-script_hub","status-publish","hentry","script_hub_category-windows","use_cases-software-installieren"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.ninjaone.com\/de\/wp-json\/wp\/v2\/script_hub\/257863","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ninjaone.com\/de\/wp-json\/wp\/v2\/script_hub"}],"about":[{"href":"https:\/\/www.ninjaone.com\/de\/wp-json\/wp\/v2\/types\/script_hub"}],"author":[{"embeddable":true,"href":"https:\/\/www.ninjaone.com\/de\/wp-json\/wp\/v2\/users\/35"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ninjaone.com\/de\/wp-json\/wp\/v2\/comments?post=257863"}],"wp:attachment":[{"href":"https:\/\/www.ninjaone.com\/de\/wp-json\/wp\/v2\/media?parent=257863"}],"wp:term":[{"taxonomy":"script_hub_category","embeddable":true,"href":"https:\/\/www.ninjaone.com\/de\/wp-json\/wp\/v2\/operating_system?post=257863"},{"taxonomy":"use_cases","embeddable":true,"href":"https:\/\/www.ninjaone.com\/de\/wp-json\/wp\/v2\/use_cases?post=257863"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}