Start Page のレジストリ値 StartPageコンピューターHKLM\Software\Policies\Mozilla\Firefox\Homepage
日本語の公式説明なし (英語の原文のまま)
- ポリシー ID
- HomepageStartPage
- 適用対象
- コンピューターの構成、ユーザーの構成
- サポートされるバージョン
- Firefox 64 or later, Firefox 60.4 ESR or later
- 出典
- Mozilla Firefox Policy Templates (バージョン 8.3)
- カテゴリ
- Mozilla › Firefox › Home page
レジストリ
StartPage
REG_SZコンピューターユーザー…\Software\Policies\Mozilla\Firefox\HomepageHKLM\Software\Policies\Mozilla\Firefox\Homepage 現在のキー
HKCU\Software\Policies\Mozilla\Firefox\Homepage
HKCU\Software\Policies\Mozilla\Firefox\Homepage
- 有効時の値
- オプションの値に依存
- 要素
- -
| 項目 | 保存される値 |
|---|---|
| None | none |
| Homepage | homepage |
| Previous Session | previous-session |
| Homepage (Locked) | homepage-locked |
.reg · CMD · PowerShell で適用する
コンピューターコンピューター全体の設定
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Mozilla\Firefox\Homepage] ; 選択項目 (1 つだけ使用) ; None "StartPage"="none" ; Homepage "StartPage"="homepage" ; Previous Session "StartPage"="previous-session" ; Homepage (Locked) "StartPage"="homepage-locked"
CMD
:: 選択項目 (1 つだけ使用) :: None reg add "HKLM\Software\Policies\Mozilla\Firefox\Homepage" /v "StartPage" /t REG_SZ /d "none" /f :: Homepage reg add "HKLM\Software\Policies\Mozilla\Firefox\Homepage" /v "StartPage" /t REG_SZ /d "homepage" /f :: Previous Session reg add "HKLM\Software\Policies\Mozilla\Firefox\Homepage" /v "StartPage" /t REG_SZ /d "previous-session" /f :: Homepage (Locked) reg add "HKLM\Software\Policies\Mozilla\Firefox\Homepage" /v "StartPage" /t REG_SZ /d "homepage-locked" /f
PowerShell
# 共通: キーを作成 New-Item -Path 'HKLM:\Software\Policies\Mozilla\Firefox\Homepage' -Force | Out-Null # 選択項目 (1 つだけ使用) # None New-ItemProperty -Path 'HKLM:\Software\Policies\Mozilla\Firefox\Homepage' -Name 'StartPage' -PropertyType String -Value 'none' -Force | Out-Null # Homepage New-ItemProperty -Path 'HKLM:\Software\Policies\Mozilla\Firefox\Homepage' -Name 'StartPage' -PropertyType String -Value 'homepage' -Force | Out-Null # Previous Session New-ItemProperty -Path 'HKLM:\Software\Policies\Mozilla\Firefox\Homepage' -Name 'StartPage' -PropertyType String -Value 'previous-session' -Force | Out-Null # Homepage (Locked) New-ItemProperty -Path 'HKLM:\Software\Policies\Mozilla\Firefox\Homepage' -Name 'StartPage' -PropertyType String -Value 'homepage-locked' -Force | Out-Null
ユーザーアカウントごとの設定
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Policies\Mozilla\Firefox\Homepage] ; 選択項目 (1 つだけ使用) ; None "StartPage"="none" ; Homepage "StartPage"="homepage" ; Previous Session "StartPage"="previous-session" ; Homepage (Locked) "StartPage"="homepage-locked"
CMD
:: 選択項目 (1 つだけ使用) :: None reg add "HKCU\Software\Policies\Mozilla\Firefox\Homepage" /v "StartPage" /t REG_SZ /d "none" /f :: Homepage reg add "HKCU\Software\Policies\Mozilla\Firefox\Homepage" /v "StartPage" /t REG_SZ /d "homepage" /f :: Previous Session reg add "HKCU\Software\Policies\Mozilla\Firefox\Homepage" /v "StartPage" /t REG_SZ /d "previous-session" /f :: Homepage (Locked) reg add "HKCU\Software\Policies\Mozilla\Firefox\Homepage" /v "StartPage" /t REG_SZ /d "homepage-locked" /f
PowerShell
# 共通: キーを作成 New-Item -Path 'HKCU:\Software\Policies\Mozilla\Firefox\Homepage' -Force | Out-Null # 選択項目 (1 つだけ使用) # None New-ItemProperty -Path 'HKCU:\Software\Policies\Mozilla\Firefox\Homepage' -Name 'StartPage' -PropertyType String -Value 'none' -Force | Out-Null # Homepage New-ItemProperty -Path 'HKCU:\Software\Policies\Mozilla\Firefox\Homepage' -Name 'StartPage' -PropertyType String -Value 'homepage' -Force | Out-Null # Previous Session New-ItemProperty -Path 'HKCU:\Software\Policies\Mozilla\Firefox\Homepage' -Name 'StartPage' -PropertyType String -Value 'previous-session' -Force | Out-Null # Homepage (Locked) New-ItemProperty -Path 'HKCU:\Software\Policies\Mozilla\Firefox\Homepage' -Name 'StartPage' -PropertyType String -Value 'homepage-locked' -Force | Out-Null