Configuration: Chrome - Force Incognito Mode
Log In or Register to download the BES file, and more.

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

ID3747
StatusBeta - Preliminary testing ready for more
TitleConfiguration: Chrome - Force Incognito Mode
DomainBESC
Download Size311761
SourceInternal
Source IDjgstew
Source Release Date3/27/2014 12:00:00 AM
Added by on 3/28/2014 2:45:50 PM
Last Modified by on 3/28/2014 2:45:50 PM
Counters 5381 Views / 24 Downloads
User Rating 1 star 2 star 3 star 4 star 5 star * Average over 1 rating. ** Log In or Register to add your rating.

Relevance

Windows Only (Relevance 2997197)
Used in 6450 fixlets and 32 analyses   * Results in a true/false
Show indented relevance
/* Windows Only */ windows of operating system
Used in 158 fixlets and 17 analyses   * Results in a true/false
Show indented relevance
/* Windows XP or Higher */ version of operating system >= "5.1"
Used in 2 fixlets   * Results in a true/false
Show indented relevance
/* Chrome Installed */ exists regapp "chrome.exe"
Used in 1 fixlet   * Results in a true/false
Show indented relevance
/* 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 management
// 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"
Success Criteria

This action will be considered successful when the applicability relevance evaluates to false.


Sharing

Social Media:
Share this page on Yammer

Comments

Log In or Register to leave comments!