Configuration: Chrome - Force Incognito Mode
0 Votes |
Description
This fixlet uses Local Group Policy to set Chrome Policies
The changes are made the binary file located here: C:\Windows\System32\GroupPolicy\Machine\Registry.pol
The changes are also seen in the registry here: "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome"
NOTE: Editing the registry directly does not work. These changes must be made using Local GPO. These policies seem to work with the per-user version of chrome, not just the enterprise MSI version.
Property Details
3747 | |
Beta - Preliminary testing ready for more | |
Configuration: Chrome - Force Incognito Mode | |
BESC | |
311761 | |
Internal | |
jgstew | |
3/27/2014 12:00:00 AM | |
jgstew on 3/28/2014 2:45:50 PM | |
jgstew on 3/28/2014 2:45:50 PM | |
9408 Views / 34 Downloads | |
![]() ![]() ![]() ![]() ![]() |
Relevance
Windows Only (Relevance 2997197)

/* Windows Only */ windows of operating system

/* Windows XP or Higher */ version of operating system >= "5.1"
Used in 2 fixlets | * Results in a true/false |

/* Chrome Installed */ exists regapp "chrome.exe"
Used in 1 fixlet | * Results in a true/false |

/* Only deploy if not currently found in registry */ not exists key "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome" whose(exists value "IncognitoModeAvailability" whose(it=2) of it) of native registry
Actions
Action 1 (default)
Action Link Click
here to deploy this action.
Script Type
BigFix Action Script
// Download Utilities for automating Local Group Policy managementSuccess Criteria
// http://blogs.technet.com/b/fdcc/archive/2008/05/07/lgpo-utilities.aspx
prefetch LGPO_Utilities.zip sha1:e849599553425754e2e070014fa7967d75671bdf size:311761 http://blogs.technet.com/cfs-filesystemfile.ashx/__key/telligent-evolution-components-attachments/01-5808-00-00-03-05-16-48/LGPO_2D00_Utilities.zip
// Download UnZip utility
prefetch unzip.exe sha1:e1652b058195db3f5f754b7ab430652ae04a50b8 size:167936 http://software.bigfix.com/download/redist/unzip-5.52.exe
utility __Download\unzip.exe
waithidden __Download\unzip.exe -o "{pathname of client folder of current site}\__Download\LGPO_Utilities.zip" -d "{pathname of client folder of current site}\__Download"
// Create LGPO file to be applied to the system
delete __createfile
delete __Download\ChromeForceIncognitoLGPO.txt
createfile until END_OF_FILE
; -------------------------------------------------------------------------
; This Local Group Policy setting forces Google Chrome to always use Incognito Mode
; -------------------------------------------------------------------------
Computer
software\Policies\Google\Chrome
IncognitoModeAvailability
DWORD:2
END_OF_FILE
move __createfile "{pathname of client folder of current site}\__Download\ChromeForceIncognitoLGPO.txt"
// Apply the above LGPO
waithidden "{pathname of client folder of current site}\__Download\Apply_LGPO_Delta.exe" "{pathname of client folder of current site}\__Download\ChromeForceIncognitoLGPO.txt" /log "{pathname of client folder of current site}\__Download\Apply_LGPO_Delta.log" /error "{pathname of client folder of current site}\__Download\Apply_LGPO_Delta_ERROR.log"
// Update GPO - This might not be needed, and it might not even work.
waithidden gpupdate /Force /Wait:600 >> "{pathname of client folder of current site}\__Download\gpupdate.log"
This action will be considered successful when the applicability relevance evaluates to false.
Sharing
Social Media: |