CCMEXEC.COM – System Center blog

CCMEXEC.COM – by Jörgen Nilsson

Browsing Posts tagged Windows10

In Windows 10 1703 we have some new really great new Group Policy settings for Microsoft Edge, the most important making it possible to sync favorites between Internet Explorer and Microsoft Edge. We can also set the default search enginge to something else than Bing with group policies.

To do this we first need to create an .xml file that complies with the Opensearch 1.1 framework https://docs.microsoft.com/en-us/microsoft-edge/dev-guide/browser/search-provider-discovery and we need to host that file on a Webserver that the clients can reach and it must use HTTPS.

Update!

This can be done in two ways, the easiest one that I overlooked is to actually use the opensearch.xml file hosted by Google! Method 2 still works, Thanks for the comment on this post!

Method 1

The URL is https://www.google.com/searchdomaincheck?format=opensearch then we don’t have to host any .xml file of our own.

We simply add that to the Group Policy settings and we are done!

Set default search enginge_1

Method 2

Here is an .xml file that can be used to set the default search engine to Google instead of Bing using a group policy, it can be downloaded here: Opensearch.xml

<?xml version="1.0" encoding="UTF-8"?>

<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">

<ShortName>Google</ShortName>

<Description>Search Google</Description>

<Url method="get" type="text/html"

template="https://www.google.com/search?q={searchTerms}"/>

</OpenSearchDescription>

We then need to place that on a webserver reachable from the clients that use HTTPS, in my lab I put it on my SCCM server under Opensearch and called it opensearch.xml as well.

XML File

Then we configure the Group Policy setting to point to the .XML file we added above.

Set default search enginge

When logging on the a computer which the group policy is applied to, you can if you are fast enough see that the search engine changes from Bing to Google under Settings\advanced settings.

Google default search engingeThis can of course be used to change the search engine to something else than Google as well, just create an .xml file that points to that search engine instead and make sure it supports Opensearch 1.1.

Thanks to my colleague Sassan for testing and supplying the .XML file!

In Windows 10 1511 there is a new feature which is enabled by default, “Let Windows Manage my default printer“. This setting will make the last printer you used the default printer.

printers1511

Update: In Windows 10 1607 there is a new user group policy setting to turn this feature of called “Turn off Windows default printer management” under Control Panel\Printers

At many customers this is not a wanted scenario so here is the registry key you need to change to turn it off.

HKEY_Current_User\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Windows\LegacyDefaultPrinterMode Dword: 0×00000001

Easiest way is to use a User  Group Policy preference with the following settings:

Printer1511_!

When searching for registry settings I tend to use Regshot to find them, easy to use, nothing to install. Works great! http://sourceforge.net/projects/regshot/

Happy printing!

This has been a hot potato with Windows 10, the fact there is a new edition of Windows 10 and that everyone using the school agreement isn’t allowed to use the Enterprise version of the OS. The must use new Education version which has its own media. When Windows 10 1507(10240) was released it was not possible to do an in-place upgrade from Windows 8.1 Enterprise to Windows 10 Education as you can only upgrade to higher SKU’s.

Starting with Windows 10 1511 (10586) this has changed so now it is possible to do an in-place upgrade from Enterprise edition to education and also use either Dism or a Provisioning package to achieve this. This is great news as it enables a lot more scenarios for us. One concern many have had as well is that you need to maintain more than one image which has been the case in the past to handle Enterprise, Education and Long-Term Servicing Branch. Now that we can use Dism for instance we can create our own reference image and then use Dism to change the edition from Enterprise to Education.

On a computer with the latest Windows 10 ADK installed, open the “Deployment and Images Tools Environment” as Administrator and then mount the Windows 10 Enterprise .wim file to check if we can upgrade it and to which editions.

In my environment:

dism /mount-image /imagefile:E:\DeploymentShare\Captures\WIN101511X64_edu.wim /index:1 /Mountdir:D:\mountdir

dism


dism /image:D:\Mountdir /get-targeteditions

Then we can see that it is possible to upgrade to Education using Dism.

Dism1511To actually upgrade the image to Education use the following commands in the “Deployment and Images Tools Environment” as above.

dism /mount-image /imagefile:E:\DeploymentShare\Captures\WIN101511X64_edu.wim /index:1 /Mountdir:D:\mountdir

dism /image:D:\mountdir /set-edition:Education
dism /image:d:\mountdir /Set-ProductKey:NW6C2-QMPVW-D7KKK-3GKT6-VCFB2
dism /unmount-image /mountdir:d:\mountdir /commit

dism /mount-image /imagefile:E:\DeploymentShare\Captures\WIN101511X64_edu.wim /index:1 /Mountdir:D:\mountdir

dism /image:D:\mountdir /set-edition:Education

dism /image:d:\mountdir /Set-ProductKey:NW6C2-QMPVW-D7KKK-3GKT6-VCFB2

dism /unmount-image /mountdir:d:\mountdir /commit

Dism1511_1

Then test deployment of the image and you should see an Education edition installed, also note that it is not possible to run Dism and change the Windows edition on a running operating system.

Microsoft Edge is the new always up-to-date, ultrafast and modern browser in Windows 10 CBB It is not included in the Long-Term Servicing Build of Windows 10. Microsoft Edge doesn’t share favorites with IE, it has its own favorites store which is located here: %Userprofile%\appdata\local\packages\Microsoft.MicrosoftEdge_8wekyb3d8bbwe\ac\MicrosoftEdge\User\Default\favorites

In Edge there is a built-in feature to copy favorites from IE, Chrome or Firefox. However if you are using folder redirection for IE favorites so they aren’t located under %userProfile%\Favorites anymore then you will be met with this error message when you try to copy the favorites from IE in the Edge browser.

Edgeimport1

I created a little PowerShell script that will copy the favorites from both a redirected and a non-redirect favorites folder that can be run in the user context to copy the favorites from IE to Edge. It also deletes the registry key necessary for Edge to read the new favorites, it also excludes $recycle.bin file that can exist in the redirected favorites folder.

I have uploaded the script to Technet Galleries, it can be found here: https://gallery.technet.microsoft.com/Powerhsell-script-to-copy-1e300de5

Note that Edge must have been started once so that all the registry keys are inplace. I am hoping that the Edge team will solve this for us in the future but until then launching and stopping the Edge browser when you build your reference image in MDT and then use Copyprofile during deployment solves the need to start Edge once before copying of the favorites are successful.
Thanks to my colleagues Johan and Petrus for assisting in the testing and verification.

I hope this can be useful.