Disable Edge Chromium desktop shortcut creation

Get answers from your peers along with millions of IT pros who visit Spiceworks.
Join Now

Hi,

On images that we build we install the chrome browser (all users version). The cheeky little thing always creates a desktop icon when a new user logs in, despite there being no obvious way of preventing this (no all users desktop folder icon, no startup/logon process or task). We have also found this to be the case when deploying Chrome via group policy.

This is not good because:

A: It didn't ask us if it could do this.

B: We manage our desktop icons via redirected desktops for most users, this just makes us look silly, all the icons we want are there in their nice little group folders, but oh look, there's important Chrome, as always, standing out on it's own.

I assume there must be a reg key that controls this? Does anyone know what we can do to stop this?

Thanks!


Best Answer
Disable Edge Chromium desktop shortcut creation
Cayenne
OP
seannoy2
Disable Edge Chromium desktop shortcut creation
This person is a verified professional.
Verify your account to enable IT peers to see that you are a professional.
Apr 29, 2018 at 03:42 UTC

Hi, i found a solution for this issue but i failed to document it properly - so here is what i have:

i use GPO for all file/registry changes needed:

1. create an empty file, name it: "First Run" (no extension). i place it on a publicly available share:
User config - Preferences - windows settings - files - Create

Disable Edge Chromium desktop shortcut creation

2. User config - Preferences - windows settings - Shortcuts - create 2 Deletes:

Disable Edge Chromium desktop shortcut creation

Disable Edge Chromium desktop shortcut creation

hope this helps,

Sean

  • Disable Edge Chromium desktop shortcut creation
    Zay1967
    Jalapeno
Popular Topics in General Windows
  • Test your wits and sharpen your skills. Take the Challenge »
  • VPN issues after January Updates
  • Boot from an ISO over 4GB from metwork
  • Very Limited Access for Contractors
Disable Edge Chromium desktop shortcut creation
Spiceworks Help Desk

The help desk software for IT. Free.

Track users' IT needs, easily, and with only the features you need.

Learn More »
  • prev
  • 1
  • 2
  • next

37 Replies

· · ·
Disable Edge Chromium desktop shortcut creation
Datil
OP
jonahzona
Disable Edge Chromium desktop shortcut creation
This person is a verified professional.
Verify your account to enable IT peers to see that you are a professional.
Jul 16, 2015 at 16:43 UTC

Looks like is controlled through the master_preferences file.

You can deploy it with a preference set to not add the desktop icon.

Here is some documentation from Google: https://support.google.com/chrome/a/answer/187948?hl=en

2
· · ·
Disable Edge Chromium desktop shortcut creation
Datil
OP
S.Lee
Disable Edge Chromium desktop shortcut creation
This person is a verified professional.
Verify your account to enable IT peers to see that you are a professional.
Jul 17, 2015 at 10:11 UTC

I've attempted using the master_preferences file but have failed to get it to work, Do I need to deploy the master_preferecnces file before I install chrome ?

0
· · ·
Disable Edge Chromium desktop shortcut creation
Chipotle
OP
PPC Jul 17, 2015 at 19:50 UTC

Thanks for your reply Jonah.
The information you've provided looks promising however I don't have the file in the location it should be in. This is definitely after running chrome a number of times and after reboots. Also the function in the file that pertains to icons does not seem to be related to removing the desktop icon, I think it's saying what exe chrome should look at to get it's icon file from.

Do you have any more information?

0
· · ·
Disable Edge Chromium desktop shortcut creation
Datil
OP
jonahzona
Disable Edge Chromium desktop shortcut creation
This person is a verified professional.
Verify your account to enable IT peers to see that you are a professional.
Jul 20, 2015 at 17:32 UTC

I am guessing the creat_all_shortcuts pref could be set to false, and would prevent this.

Text
"distribution" : { "skip_first_run_ui" : true, "show_welcome_page" : true, "import_search_engine" : true, "import_history" : false, "create_all_shortcuts" : true, [maybe set to false?] "do_not_launch_chrome" : true, "make_chrome_default" : false },

The instructions say to "You only need to create and populate the master_preferences file when you deploy Google Chrome. All users on a machine will get those master settings when they first start Google Chrome."

If you can test this, you could push it out with something like PDQ Deploy, or get is set in a image clone.

0
· · ·
Disable Edge Chromium desktop shortcut creation
Datil
OP
S.Lee
Disable Edge Chromium desktop shortcut creation
This person is a verified professional.
Verify your account to enable IT peers to see that you are a professional.
Jul 20, 2015 at 18:13 UTC

jonahzona wrote:

I am guessing the creat_all_shortcuts pref could be set to false, and would prevent this.

Text
"distribution" : { "skip_first_run_ui" : true, "show_welcome_page" : true, "import_search_engine" : true, "import_history" : false, "create_all_shortcuts" : true, [maybe set to false?] "do_not_launch_chrome" : true, "make_chrome_default" : false },

The instructions say to "You only need to create and populate the master_preferences file when you deploy Google Chrome. All users on a machine will get those master settings when they first start Google Chrome."

If you can test this, you could push it out with something like PDQ Deploy, or get is set in a image clone.


Doesnt work with the Local Administrator,

This is what i have at the moment;


Text
{ "bookmark_bar" : { "show_on_all_tabs" : true }, "distribution" : { "skip_first_run_ui" : true, "show_welcome_page" : true, "import_search_engine" : true, "import_history" : false, "create_all_shortcuts" : true, "do_not_create_desktop_shortcut": true, "do_not_create_quick_launch_shortcut": true, "do_not_launch_chrome": true, "do_not_register_for_update_launch": true, "make_chrome_default" : false }, "first_run_tabs" : [ "http://www.google.co.uk", "welcome_page", "new_tab_page" ] }
And always creates the Desktop Shorcuts, am with you on the false config, Could someone try and run and confirm thus?

Update #1;

Have editied my preferences file to set create_all_shortcurs  to false, and will report back later once the sequence has finished!

Update #2;

I can confirm that this ini file script works and does not add Shortcuts to the Desktop and Taskbar



Text
{ "bookmark_bar" : { "show_on_all_tabs" : true }, "distribution" : { "skip_first_run_ui" : true, "show_welcome_page" : true, "import_search_engine" : true, "import_history" : false, "create_all_shortcuts" : false, "do_not_create_desktop_shortcut": true, "do_not_create_quick_launch_shortcut": true, "do_not_launch_chrome": true, "do_not_register_for_update_launch": true, "make_chrome_default" : false }, "first_run_tabs" : [ "http://www.google.co.uk", "welcome_page", "new_tab_page" ] }

Update #3 - Rebooted my Virtual Machine and has the Taskbar Icon...
Back to the drawing board.

Edited Jul 20, 2015 at 21:15 UTC
0
· · ·
Disable Edge Chromium desktop shortcut creation
Chipotle
OP
PPC Jul 23, 2015 at 17:27 UTC

Thanks S.Lee, brilliant, for me this should do the trick as I remove all Taskbar icons with GP anyway so our users don't see the chrome taskbar icon anyway, but I'm aware of it. Haven't tested this yet but I believe you!

Would be nice to find what line can also prevent the taskbar icon (if possible).

1
· · ·
Disable Edge Chromium desktop shortcut creation
Datil
OP
S.Lee
Disable Edge Chromium desktop shortcut creation
This person is a verified professional.
Verify your account to enable IT peers to see that you are a professional.
Jul 23, 2015 at 19:19 UTC

PPC wrote:

Thanks S.Lee, brilliant, for me this should do the trick as I remove all Taskbar icons with GP anyway so our users don't see the chrome taskbar icon anyway, but I'm aware of it. Haven't tested this yet but I believe you!

Would be nice to find what line can also prevent the taskbar icon (if possible).


Yeh! Ive half tested it, i know it doesnt create the Desktop Icon, But havent had time to prevent the taskbar icon, if i can find the reg key i might kill that, but havent got the time, as working on a server migration and automating it completety, and supposed to be doing a big OSD Project next wednesday, but could do with sorting the chrome thingie as well! #NotEnoughHoursInTheDay
0
· · ·
Disable Edge Chromium desktop shortcut creation
Mace
OP
George1421 Jul 23, 2015 at 19:23 UTC

FWIW: I just stumbled upon chrome gpo policy templates today

https://support.google.com/chrome/a/answer/187202?hl=en

https://www.chromium.org/administrators/policy-templates

I haven't had a chance to dig into see what they can manage, but its worth a shot to see if they resolve your problem.

0
· · ·
Disable Edge Chromium desktop shortcut creation
Chipotle
OP
PPC Jul 23, 2015 at 19:29 UTC

Hi George, had a good look at them a few months back, relatively limited and didn't offer help with this particular issue but thanks, that is unless they've been updated recently. I'm talking about desktop icon now, not taskbar, haven't checked them for that.

0
· · ·
Disable Edge Chromium desktop shortcut creation
Mace
OP
George1421 Jul 23, 2015 at 19:30 UTC

Interestsing, a little google-fu found this page:

http://woshub.com/how-to-configure-google-chrome-via-group-policies/

it says that the admx file can control 260 different settings. You'd might think that desktop icon would be one of them.

0
· · ·
Disable Edge Chromium desktop shortcut creation
Datil
OP
S.Lee
Disable Edge Chromium desktop shortcut creation
This person is a verified professional.
Verify your account to enable IT peers to see that you are a professional.
Jul 24, 2015 at 12:37 UTC

George1421 wrote:

Interestsing, a little google-fu found this page:

http://woshub.com/how-to-configure-google-chrome-via-group-policies/

it says that the admx file can control 260 different settings. You'd might think that desktop icon would be one of them.

Isn't that post deplyoment tho?

0
· · ·
Disable Edge Chromium desktop shortcut creation
Mace
OP
George1421 Jul 24, 2015 at 21:53 UTC

S.Lee wrote:

George1421 wrote:

Interestsing, a little google-fu found this page:

http://woshub.com/how-to-configure-google-chrome-via-group-policies/

it says that the admx file can control 260 different settings. You'd might think that desktop icon would be one of them.

Isn't that post deplyoment tho?

Yes, post deployment.

There is a philisoply here of deploying standard images and then correcting them via GPO. Its just a methodology that allows changes post deployment without having to remaster the reference image. That would give you the "option" to reverse it later.

That admx template creates registry keys, someone could mimic the action by creating these registry keys during/post application deployment in MDT then these settings still could be reversed with AD GPO if needed. I'm not suggesting that other methods are bad, I just like to avoid being called back to fix wizardry that I created 6 months before.

2
· · ·
Disable Edge Chromium desktop shortcut creation
Datil
OP
S.Lee
Disable Edge Chromium desktop shortcut creation
This person is a verified professional.
Verify your account to enable IT peers to see that you are a professional.
Jul 24, 2015 at 22:04 UTC

George1421 wrote:

S.Lee wrote:

George1421 wrote:

Interestsing, a little google-fu found this page:

http://woshub.com/how-to-configure-google-chrome-via-group-policies/

it says that the admx file can control 260 different settings. You'd might think that desktop icon would be one of them.

Isn't that post deplyoment tho?

Yes, post deployment.

There is a philisoply here of deploying standard images and then correcting them via GPO. Its just a methodology that allows changes post deployment without having to remaster the reference image. That would give you the "option" to reverse it later.

That admx template creates registry keys, someone could mimic the action by creating these registry keys during/post application deployment in MDT then these settings still could be reversed with AD GPO if needed. I'm not suggesting that other methods are bad, I just like to avoid being called back to fix wizardry that I created 6 months before.


Hmmmm might look into it,
0
· · ·
Disable Edge Chromium desktop shortcut creation
Pimiento
OP
mfoconnor Apr 8, 2016 at 02:21 UTC
1st Post

Does this happen only if you installed with a standalone exe, or also just from a straight download? I know this is an old post, but just ran across this issue.

0
· · ·
Disable Edge Chromium desktop shortcut creation
Datil
OP
S.Lee
Disable Edge Chromium desktop shortcut creation
This person is a verified professional.
Verify your account to enable IT peers to see that you are a professional.
Apr 8, 2016 at 06:13 UTC

maggieoconnor wrote:

Does this happen only if you installed with a standalone exe, or also just from a straight download? I know this is an old post, but just ran across this issue.


Hi Maggie, What ive found is that even with the enterprise msi download,only part of the master_preferences file actually works for example I still get a desktop icon and taskbar icon, however you can remove the desktop icons using some simple PowerShell to remove the .ink file, however to remove the taskbar icon I am a still stumped, I know theres a reg value you could use - I just need to find it!

For example the PowerShell am using is " Remove-Item -Path "C:\Users\Public\Desktop\Google Chome.ink -Force"

0
· · ·
Disable Edge Chromium desktop shortcut creation
Thai Pepper
OP
cynlis
Disable Edge Chromium desktop shortcut creation
This person is a verified professional.
Verify your account to enable IT peers to see that you are a professional.
Sep 2, 2016 at 01:28 UTC

Did you ever get this worked out? I am experiencing the same issue and previously have tried all the same avenues with no joy.

1
· · ·
Disable Edge Chromium desktop shortcut creation
Pimiento
OP
scottbradbury Sep 23, 2016 at 15:39 UTC
1st Post
Agree with the same approach that S.Lee suggested. Quick Powershell script that runs at logon to kill the desktop shortcut. Not necessarily the greatest approach but definitely effective and easier than dealing with GPO's, pref files, etc...
0
· · ·
Disable Edge Chromium desktop shortcut creation
Pimiento
OP
mikepekarik Dec 13, 2016 at 20:01 UTC
1st Post

You can find the pinned shortcut here, but good luck editing it.

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Taskband

1
· · ·
Disable Edge Chromium desktop shortcut creation
Datil
OP
S.Lee
Disable Edge Chromium desktop shortcut creation
This person is a verified professional.
Verify your account to enable IT peers to see that you are a professional.
Dec 15, 2016 at 13:55 UTC

scottbradbury wrote:

Agree with the same approach that S.Lee suggested. Quick Powershell script that runs at logon to kill the desktop shortcut. Not necessarily the greatest approach but definitely effective and easier than dealing with GPO's, pref files, etc...
and it also works :-) I just add it to the end of the MDT Task Sequence for the "Production" images when they deploy.
0
· · ·
Disable Edge Chromium desktop shortcut creation
Datil
OP
S.Lee
Disable Edge Chromium desktop shortcut creation
This person is a verified professional.
Verify your account to enable IT peers to see that you are a professional.
Dec 15, 2016 at 13:58 UTC

Might have a look at this when I have some time over the next week or so

https://productforums.google.com/forum/#!topic/chrome-admins/7ymVAeBHhq0

Batchfile
msiexec /qn /norestart /i "%~dp0GoogleChromeStandaloneEnterprise.msi" if exist "c:\Program Files\Google\Chrome\Application\master_preferences" copy /y "%~dp0master_preferences" "C:\Program Files\Google\Chrome\Application\master_preferences" if exist "c:\Program Files (x86)\Google\Chrome\Application\master_preferences" copy /y "%~dp0master_preferences" "C:\Program Files (x86)\Google\Chrome\Application\master_preferences" reg add HKLM\Software\Policies\Google\Update /f /v AutoUpdateCheckPeriodMinutes /d 0 sc stop gupdate sc config gupdate start= disabled

0
· · ·
Disable Edge Chromium desktop shortcut creation
Pimiento
OP
callanhalls-palmer Jan 18, 2017 at 12:36 UTC
1st Post

You can run a few simple lines in a logon script to detect and delete if the .lnk exists. use the following lines in batch:

IF EXIST "C:\Users\%USERNAME%\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\Google Chrome.lnk" DEL /Q /S "C:\Users\%USERNAME%\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\Google Chrome.lnk"

IF EXIST "C:\Users\%USERNAME%\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar\Google Chrome.lnk" DEL /Q /S "C:\Users\%USERNAME%\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar\Google Chrome.lnk"

After a restart the pinned icon should disappear.

Callan


0
· · ·
Disable Edge Chromium desktop shortcut creation
Pimiento
OP
mikepekarik Feb 21, 2017 at 20:23 UTC

We ended up removing Chrome and reinstalling without the shortcuts. Easy to do with a manifest file.

1
· · ·
Disable Edge Chromium desktop shortcut creation
Datil
OP
S.Lee
Disable Edge Chromium desktop shortcut creation
This person is a verified professional.
Verify your account to enable IT peers to see that you are a professional.
Feb 22, 2017 at 18:49 UTC

mikepekarik wrote:

We ended up removing Chrome and reinstalling without the shortcuts. Easy to do with a manifest file.


Can you share the process on this?
0
· · ·
Disable Edge Chromium desktop shortcut creation
Pimiento
OP
mikepekarik Feb 22, 2017 at 19:43 UTC

You can follow this document from Google:

https://support.google.com/chrome/a/answer/187948?hl=en

1

This topic has been locked by an administrator and is no longer open for commenting.

To continue this discussion, please ask a new question.