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
Cayenne
OP
seannoy2
This person is a verified professional.
Verify your account
to enable IT peers to see that you are a professional.
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: 2. User config - Preferences - windows settings - Shortcuts - create 2 Deletes: hope this helps, Sean
View this "Best Answer" in the replies below »
Popular Topics in General Windows
Spiceworks Help Desk
The help desk software for IT. Free. Track users' IT needs, easily, and with only the features you need.
Learn More »
37 Replies· · ·
Datil
OP
jonahzona
This person is a verified professional.
Verify your account
to enable IT peers to see that you are a professional.
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
· · ·
Datil
OP
S.Lee
This person is a verified professional.
Verify your account
to enable IT peers to see that you are a professional.
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
· · ·
Chipotle
OP
PPC
Jul 17, 2015 at 19:50 UTC
Thanks for your reply Jonah.
Do you have any more information?
0
· · ·
Datil
OP
jonahzona
This person is a verified professional.
Verify your account
to enable IT peers to see that you are a professional.
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
· · ·
Datil
OP
S.Lee
This person is a verified professional.
Verify your account
to enable IT peers to see that you are a professional.
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"
]
}
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
· · ·
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
· · ·
Datil
OP
S.Lee
This person is a verified professional.
Verify your account
to enable IT peers to see that you are a professional.
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
· · ·
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
· · ·
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
· · ·
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
· · ·
Datil
OP
S.Lee
This person is a verified professional.
Verify your account
to enable IT peers to see that you are a professional.
Isn't that post deplyoment tho?
0
· · ·
Mace
OP
George1421
Jul 24, 2015 at 21:53 UTC
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
· · ·
Datil
OP
S.Lee
This person is a verified professional.
Verify your account
to enable IT peers to see that you are a professional.
Hmmmm might look into it,
0
· · ·
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
· · ·
Datil
OP
S.Lee
This person is a verified professional.
Verify your account
to enable IT peers to see that you are a professional.
0
· · ·
Thai Pepper
OP
cynlis
This person is a verified professional.
Verify your account
to enable IT peers to see that you are a professional.
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
· · ·
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
· · ·
Pimiento
OP
mikepekarik
Dec 13, 2016 at 20:01 UTC
1st Post
You can find the pinned shortcut here, but good luck editing it.
1
· · ·
Datil
OP
S.Lee
This person is a verified professional.
Verify your account
to enable IT peers to see that you are a professional.
and it also works :-) I just add it to the end of the MDT Task Sequence for the "Production" images when they deploy.
0
· · ·
Datil
OP
S.Lee
This person is a verified professional.
Verify your account
to enable IT peers to see that you are a professional.
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
· · ·
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
· · ·
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
· · ·
Datil
OP
S.Lee
This person is a verified professional.
Verify your account
to enable IT peers to see that you are a professional.
Can you share the process on this?
0
· · ·
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. |