Action on startup: wartość rejestru RestoreOnStartup (Chrome)UżytkownikHKCU\Software\Policies\Google\Chrome
Brak oficjalnego tekstu w tym języku (wyświetlono oryginał angielski)
- Identyfikator zasady
- RestoreOnStartup
- Zakres
- Konfiguracja komputera, Konfiguracja użytkownika
- Obsługiwane w systemach
- Microsoft Windows 7 or later
- Źródło
- Google Chrome Policy Templates (wersja 156.0.8078.80)
- Kategoria
- Google › Google Chrome › Startup, Home page and New Tab page
Rejestr
RestoreOnStartup
REG_DWORDUżytkownikKomputer…\Software\Policies\Google\ChromeHKCU\Software\Policies\Google\Chrome Bieżący klucz
HKLM\Software\Policies\Google\Chrome
HKLM\Software\Policies\Google\Chrome
- Wartość włączona
- Zależy od wartości opcji
- Element
- Action on startup
| Pozycja | Zapisana wartość |
|---|---|
| Open New Tab Page | 5 |
| Restore the last session | 1 |
| Open a list of URLs | 4 |
| Open a list of URLs and restore the last session | 6 |
Zastosuj przez .reg · CMD · PowerShell
UżytkownikUstawienie dla każdego konta
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Policies\Google\Chrome] ; Opcje (użyj tylko jednej) ; Open New Tab Page "RestoreOnStartup"=dword:00000005 ; Restore the last session "RestoreOnStartup"=dword:00000001 ; Open a list of URLs "RestoreOnStartup"=dword:00000004 ; Open a list of URLs and restore the last session "RestoreOnStartup"=dword:00000006
CMD
:: Opcje (użyj tylko jednej) :: Open New Tab Page reg add "HKCU\Software\Policies\Google\Chrome" /v "RestoreOnStartup" /t REG_DWORD /d 5 /f :: Restore the last session reg add "HKCU\Software\Policies\Google\Chrome" /v "RestoreOnStartup" /t REG_DWORD /d 1 /f :: Open a list of URLs reg add "HKCU\Software\Policies\Google\Chrome" /v "RestoreOnStartup" /t REG_DWORD /d 4 /f :: Open a list of URLs and restore the last session reg add "HKCU\Software\Policies\Google\Chrome" /v "RestoreOnStartup" /t REG_DWORD /d 6 /f
PowerShell
# Wspólne: utwórz klucz New-Item -Path 'HKCU:\Software\Policies\Google\Chrome' -Force | Out-Null # Opcje (użyj tylko jednej) # Open New Tab Page New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome' -Name 'RestoreOnStartup' -PropertyType DWord -Value 5 -Force | Out-Null # Restore the last session New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome' -Name 'RestoreOnStartup' -PropertyType DWord -Value 1 -Force | Out-Null # Open a list of URLs New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome' -Name 'RestoreOnStartup' -PropertyType DWord -Value 4 -Force | Out-Null # Open a list of URLs and restore the last session New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome' -Name 'RestoreOnStartup' -PropertyType DWord -Value 6 -Force | Out-Null
KomputerUstawienie dla całego komputera
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Google\Chrome] ; Opcje (użyj tylko jednej) ; Open New Tab Page "RestoreOnStartup"=dword:00000005 ; Restore the last session "RestoreOnStartup"=dword:00000001 ; Open a list of URLs "RestoreOnStartup"=dword:00000004 ; Open a list of URLs and restore the last session "RestoreOnStartup"=dword:00000006
CMD
:: Opcje (użyj tylko jednej) :: Open New Tab Page reg add "HKLM\Software\Policies\Google\Chrome" /v "RestoreOnStartup" /t REG_DWORD /d 5 /f :: Restore the last session reg add "HKLM\Software\Policies\Google\Chrome" /v "RestoreOnStartup" /t REG_DWORD /d 1 /f :: Open a list of URLs reg add "HKLM\Software\Policies\Google\Chrome" /v "RestoreOnStartup" /t REG_DWORD /d 4 /f :: Open a list of URLs and restore the last session reg add "HKLM\Software\Policies\Google\Chrome" /v "RestoreOnStartup" /t REG_DWORD /d 6 /f
PowerShell
# Wspólne: utwórz klucz New-Item -Path 'HKLM:\Software\Policies\Google\Chrome' -Force | Out-Null # Opcje (użyj tylko jednej) # Open New Tab Page New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome' -Name 'RestoreOnStartup' -PropertyType DWord -Value 5 -Force | Out-Null # Restore the last session New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome' -Name 'RestoreOnStartup' -PropertyType DWord -Value 1 -Force | Out-Null # Open a list of URLs New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome' -Name 'RestoreOnStartup' -PropertyType DWord -Value 4 -Force | Out-Null # Open a list of URLs and restore the last session New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome' -Name 'RestoreOnStartup' -PropertyType DWord -Value 6 -Force | Out-Null