Windows IT Pro is the authoritative and independent resource for windows nt, windows 2000, windows 2003, windows xp. Features a collection of resources and magazines for windows IT professionals.
  
  
  Advanced Search 


September 29, 2008

How to Stop Users From Installing Google Chrome

Create a software restriction policy for your Windows Vista or Windows XP machines
RSS
Subscribe to Windows IT Pro | See More Internet Articles Here | Reprints | Or get the Monthly Online Pass—only $5.95 a month!

Unless you've been locked away in a dungeon for the past few weeks, you should be aware that Google released its first web browser, Google Chrome. While I was cruising around the office the day of its release, I noticed that some of our users had installed and were using this web browser, violating corporate policy. By default, our users don’t have permissions to write to the restricted areas that most applications write to when they're installed, so it's our policy to have administrators install applications for users.

I decided to investigate how these users were able to install Google Chrome. My initial investigation revealed that the browser is designed to bypass restricted write areas and install into C:\Users\%username% in Windows Vista and C:\Documents and Settings\%username% in Windows XP. Because standard users can write to these areas, they're able to install the browser without Admin rights.

After installing Google Chrome on my Vista machine, I found that browser installed a setup file named chromesetup.exe, an executable named chrome.exe, and Windows Installer file named gears-chrome-opt.msi in the C:\Users\%username%\AppData\Local\Google\Chrome\Application folder. (In XP, the folder is C:\Documents and Settings\%username%\Local Settings\Application Data\Google\Chrome\Application.) Armed with this information, I successfully created a software restriction policy named Block Google Chrome to disallow these three files.

Here's how you can create the Block Google Chrome software restriction policy for your Vista or XP machines:

  1. Open the Group Policy Management Console (GPMC).
  2. Right-click your domain and choose the Create a GPO in this domain, and link it here option.
  3. Name the Group Policy Object (GPO) Block Google Chrome and click OK.
  4. Right-click the policy you just created and click Edit.
  5. Navigate to the User Configuration\Policies\Windows Settings\Security Settings\Software Restriction Policies folder.
  6. Right-click Software Restriction Policies and select New Software Restriction Policies.
  7. Right click Additional Rules and choose New Path Rule.
  8. In the Path field, type chromesetup.exe.
  9. In the Security level drop-down box, choose Disallowed and click OK.
  10. Repeat steps 7 through 9 for the chrome.exe and gears-chrome-opt.msi files.
  11. Repeat steps 7 through 9 for the path C:\Users\%username%\AppData\Local\Google\Chrome\Application\chrome.exe for Vista machines or C:\Documents and Settings\%username%\Local Settings\Application Data\Google\Chrome\Application\chrome.exe for XP machines. You should include this rule in case some of your users have already installed the browser. After you implement the GPO and the Group Policy settings refresh on those users' local machines, they'll no longer be able to successfully run Google Chrome.
  12. Open a command-prompt window and run the command
    gpupdate /force
    to apply the new rules.
  13. Run the command
    gpresult /R
    in Vista SP1 or the command
    gpresult
    in XP and Vista (pre-SP1) to verify that the newly created GPO has successfully been applied.
  14. As a final test, attempt to run the installer from the Google Chrome website. If the policy is successful, you should see the error that Figure 1 shows.

With the Block Google Chrome software restriction policy, you can stop users from installing and using Google's new web browser without IT's consent. (Note that if you want some users to be able to install and run the browser, you can filter the GPO so that it won't affect them.) You can even adapt these steps to block other applications that install to user-accessible areas in the OS and registry.

—Steve Di Bias, systems administrator, Las Vegas Convention Center

End of Article



Reader Comments

You must log on before posting a comment.

If you don't have a username & password, please register now.




Top Viewed ArticlesView all articles
Friday at PASS Europe 2006

Kevin talks about the closing day of the event and shares a funny Microsoft film. ...

PsExec

This freeware utility lets you execute processes on a remote system and redirect output to the local system. ...

Microsoft Delivers Service Pack 2 Beta 2 for Vista, Server 2008

Microsoft on Tuesday announced the availability of the Beta 2 version of Service Pack 2 (SP2) for Windows Vista and Windows Server 2008. Since both operating systems were developed from the same code base, they have a common servicing structure and thus ...


Related Articles Introduction to Software Restriction Policies

Secure Your Desktops Using SRPs’ Hidden Security Levels

Tightening Software Restriction Policies

Stay Safer with Software Restriction Policies

Security Whitepapers The Impact of Messaging and Web Threats

Why SaaS is the Right Solution for Log Management

Protecting (You and) Your Data with Exchange Server 2007

Related Events SQL Server 2008 – Can You Wait? | Philadelphia

SQL Server 2008 – Can You Wait? | Atlanta

SQL Server 2008 – Can You Wait? | Chicago

Check out our list of Free Email Newsletters!

Security eBooks Spam Fighting and Email Security for the 21st Century

Understanding and Leveraging Code Signing Technologies

A Guide to Windows Certification and Public Keys

Related Security Resources Become a VIP member of the Windows IT Pro community!
Get it all with the VIP CD and VIP access. A $500+ value for only $279!

Subscribe to Windows IT Pro!
Solve your toughest technical problems with our experts and access 10,000 + articles online. 30% off

Monthly Online Pass - Only $5.95!
Get instant access to 10,000+ articles from Windows IT Pro Magazine!

TechNet Virtual Labs
Evaluate and test Microsoft's newest products.


Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro Windows Dev Pro IT Job Hound ITTV
IT Library Technology Resource Directory Connected Home Windows Excavator Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 Copyright © 2008 Penton Media, Inc., All rights reserved. Terms and Use | Privacy Statement | Reprints and Licensing