Microsoft Edge on Server 2019/2016 (and Citrix)

KB ID 0001657

Problem

In a fit of lunacy Microsoft have called ‘their’ new browser Microsoft Edge, so we can spend the next few months confusing it with Edge. Plus every Google search for GPO settings, error messages etc will all now show search results for the old Edge Browser not the new Microsoft Edge browser! Perhaps the same doofus at Microsoft who called the Exchange sync Active Sync when Microsoft already had a product called Active Sync was involved?

Anyway I got a request from a client this week to have Microsoft Edge on their Citrix environment, there was some confusion (imagine that), because Edge does not work on server 2016, (and it’s not shipped as part of server 2016), but would Microsoft Edge work?

Installing Microsoft Edge on Server 2019/2016 (With IE11)

Why is Internet explorer still alive? Anyway If you want to install Edge on a modern Windows server firstly ensure you are fully up to date with updates! Then open IE. Internet Options > Security > Custom > Scripting > Enable Active Scripting > OK > Yes > Apply > OK.

 Then go to https://www.microsoft.com/en-us/edge/business and install it manually.

Microsoft Edge on Server 2019/2016

The first test was, ‘would it run on Server 2016’, it detected the OS as Windows 10 (unsurprisingly), and installed fine;

Microsoft Edge on Remote Desktop Services

Well Citrix is really just Remote Desktop Services in a leather jacket, so the next test was,’ would it work in RDS?’ I span up an RDS farm on the bench, and was pleased to see I could select Microsoft Edge as a RemoteApp, (not that I needed to deploy it using RemoteApp, but it being detected was promising).

And in an RDS session it worked faultlessly.

Deploy Microsoft Edge on Citrix (Server 2016)

Here’s where we had a problem, it installed fine, but every time I went to open it, all I got was a ‘white screen’ for about 5 minutes, after this it burst into life, which I couldn’t really ask the client to put up with!

As this was happening when I launched the browser I ‘wrongly’ assumed it was a ‘first run‘ problem (for the uninitiated, previous Microsoft browsers got an annoying ‘how do you want to set the browser up’ routine, then finally dumped you on the MSN webpage, (does anyone actually use the MSN webpage?) While it didn’t cure my problem it’s worth mentioning how I stopped the first run dialog happening);

Controlling Microsoft Edge with Group Policies

If you are used to importing ADMX and ADML files then this will be a breeze to you. If you are really interested I cover the subject in great deal in the following post;

Setup up a Central ‘PolicyDefinitions’ Store (for ADMX files)

Essentially download the latest msedge.adml and msedgeupdate.adml files and (on a Domain controller,) copy them to;

[box]

C:\Windows\SYSVOL\{domain-name}\Policies\PolicyDefinitions\en-US

[/box]

Note: Other Input locales are available, my servers are using English (US).

Then copy the msedge.admx and msedgeupdates.admx files to;

[box]

C:\Windows\SYSVOL\{domain-name}\Policies\PolicyDefinitions

[/box]

Microsoft Edge Stop ‘First Run’ With Group Policy

The two policies I used are both located at;

[box]

Computer configuration > Policies > Administrative Templates > Microsoft Edge

[/box]

Microsoft Edge: Stop Importing of Bookmarks/Favourites

Locate: ‘Automatically import another browser’s data and settings at first run‘ > Enable the policy, and select ‘Disable automatic import and the import section of the first run experience is skipped‘ > Apply > OK.

Microsoft Edge: First Run

This will disable the entire first run dialog;

Locate: ‘Hide the First-run experience and splash screen‘ > Enable the policy > Apply > OK.

Then either wait or force a policy refresh.

Deploy Microsoft Edge on Citrix

As it was working in RDS and not working on Citrix, then the problem was probably Citrix*. Citrix is one of my weaker subjects, so credit for the actual fix should go to my colleague (Dan Brookes). 

*After I had discounted existing group policies, and other installed applications.

Running Microsoft Edge while it was ‘hanging’ and looking at what was going on in ‘Process Monitor’ showed a lot of hook64.dll entries;

This pointed to the culprit, open the registry Editor (regedit) and navigate to;

[box]

HKEY_LOCAL_MACHINE > System > CurrentControlSet > Services > CtxUvi

[/box]

Locate the UviProcesExcludes REG_SZ value, edit it and add ‘msedge.exe;‘ to the end.

Theres probably one service you can restart, but I simply rebooted the server, (problem solved).

FSLogix and Microsoft Edge

If you are running FSLogix you should also add an ‘exclusion’ to the Redirections.xml file, (located in your \\{domain-name}\NETLOGON folder).

[box]

<Exclude>AppData\Local\Microsoft\Edge Dev\User Data\Default\Cache</Exclude>

[/box]

 

Related Articles, References, Credits, or External Links

Microsoft Edge (macOS) Migrate Bookmarks from Safari

VMware – Datastore Browser shows “Searching Datastore….”

KB ID 0000401 

Problem

I did a VMware VI3 to vSphere (4.1 U1) upgrade today. While bringing all the guest machines across, suddenly I could no longer browse the datastore, I only had one more guest to “Add to the inventory”, and all the mission critical machines were already migrated. I tried rebooting the virtual center, I tried restarting the ESXi host machines, still it sat saying “Searching Datastore……”.

Solution

1. I found the solution by accident. I was adding virtual machines to the new VSphere inventory, so I went in search of a method of doing it from the console, I was just about to:

Command to add a VMware guest to the inventory

[box]vmware-cmd -s register {full path to virtual machine}MACHINE_NAME.vmx[/box]

But, while looking in the folder with the guest files, I saw thousands of log files, I guess the VI client is struggling to parse them all, and display them. A quick internet search and I found out I can safely delete the log files.

2. Log into the ESX/ESXi servers console, for ESXi servers (version 4.0 and below) see here, for newer versions you can simply enable SSH access from Troubleshooting Mode Options > Enable Remote Tech support (SSH).

3. Log on as root and issue the following command to find the symlink path to your shared storage:

[box]ls -l /vmfs/volumes/[/box]

4. Now you know your symlink, you can change to the folder that contains the affected guest OS.

[box]cd /vmfs/volumes/{your symlink}/{your vm folder}[/box]

5. To get rid of all the log files, simply issue the following command.

[box]rm -f vmware-*.log[/box]

6. Now retry and you should see the folder contents when you “Browse Datastore”.

Related Articles, References, Credits, or External Links

NA

Windows XP Service Pack 3 Hangs on “Performing cleanup”

KB ID 0000364

Problem

Saw this a while ago, and just thought it was a “One Off”. Then on a visit to a client yesterday I saw it on both machines I was working on.

Solution

This might scare you, but you need to kill the update, don’t panic at this stage SP3 is already on.

Update 05/04/11: Before continuing please read the feedback below. Ive never personally seen any adverse effects from doing this and I’ve rolled out a few thousand service packs.

1. Right click your task bar and select “Task Manager”.

2. On the applications tab > Select the Software Update Installation Wizard > Click End Task > Accept any warnings etc.

3. Reboot the PC > SP3 installation will recover and finish, ignore any errors or warnings just let it boot up and you will be at SP3, at this point finish the good work by going to windows update and getting all the post SP3 updates.

Feedback from Patrick Wright (05/04/11)

I am sending you a message concerning your advice on the Windows XP SP3 install “hanging” at “Performing Cleanup…”.  The advice you give is to end the installation task at this point and reboot the computer.

The truth of the matter is that during the “Performing Cleanup…” step, there is indeed quite a bit of activity and updating going on.  I’ve had this step take as long as 6 hours on slower machines on our network but it finishes successfully.

For testing purposes, I tried your solution on three training machines that were still running SP2 and ran into numerous issues after rebooting with getting several programs to install that require a minimum of SP3–Adobe Standard/Professional 10 is only one example and will refuse to install on all three of the test machines that I tried your suggested fix on.  It appears that even though Windows shows in system properties to be upgraded to SP3, it is not completely finished if you stopped the install prematurely by ending that task. 

I strongly advise to consider changing your solution to simply wait out the “Performing Cleanup…” task until it finishes.  It can take a while.  I’ve found one way to help the process along is to set the process for the updater to “high priority” in task manager.  This resulted in drastically faster install times when the installer seemed to “hang” at that part of the install.

 

Related Articles, References, Credits, or External Links

NA

Windows – Explorer Has Stopped Working – Crashes Windows

KB ID 0000388 

Problem

Spend any time working in windows and sooner or later something will upset Windows Explorer, and when it crashes it has a habit of taking something with it (usually your desktop experience – or something you’ve been working on and have not saved!).

The underlying problem can be anything from some poorly coded software, a dodgy device driver, or a wayward Windows update. But you can offset the problem by running Windows Explorer in its own sandboxed process, then if it does fail, it wont break anything else.

Warning there is a slight performance overhead to doing this but if you have a reasonable machine – crack on!

 

Solution

1. Open Windows Explorer (Windows Key +E)

2. Click Tools > Folder Options > View > Place a tick next to “Launch folder windows in a separate process” > Apply.

Note: If you can’t see the Tools Menu Press F10.

 

Related Articles, References, Credits, or External Links

NA

Windows – System Hung applying updates ‘Stage 3 of 3 Preparing to configure Windows…’

KB ID 0000640

Problem

I installed a classroom full of PC’s today, after setting them all updating, and rebooting, I went to lunch, and came back to find them all displaying this,

Stage 3 of 3
Preparing to configure Windows.
Don't turn off your computer.

I went and did another room, came back, and there was no change.

Solution

It turns out this is a known problem if you are installing KB2533552, to get round the problem simply press CTRL+ALT+DELETE, and you will be presented with the login page.

Microsoft recommend you install the above update separately.

Note: It will affect both Windows 7 and Server 2008 R2.

Related Articles, References, Credits, or External Links

NA

Server 2008 R2 – Hangs “Preparing to configure Windows. Do not turn off your computer”

KB ID 0000657 

Problem

Saw this today on a Windows 2008 R2 Server, post reboot it just hung like this.

 

Solution

1. At first I thought this was the problem, but a CTRL+AL+DELETE didn’t work.

2. A Google search prompted me to connect to the ‘services’ from another server to see if the Windows Modules Installer Service was stuck stopping or starting, but that was OK as well.

3. It was the client’s Virtual Center server so I could afford to be a bit reckless (I could build them a new one and have it up and running, with no user downtime in about an hour). So I powered it off, rebooted and pressed F8, to see if it would boot into safe mode, then this happened.

.

Failure configuring Windows updates. Reverting changes. Do not turn off your computer.

It then rebooted, and hung at the original screen, I was pondering my next move, when the screen changed to the one above , and it rebooted again. I was concerned that now It was in a reboot loop.

4. After a few more reboots it changed to applying settings, then gave me the logon screen.

5. I then ran a manual Windows update, and it rebooted fine.

 

Related Articles, References, Credits, or External Links

NA

Exchange 2003 Service Pack 2 Hangs at “Stopping IIS Admin Service”

KB ID 0000235 

Problem

Had this, this morning (On SBS 2003) saw a few posts on technet and other forums but, the given advice of “Reboot it” was not the elegant suggestion I was looking for.

 

Solution

1. Annoyingly simple, Click Start > Run > cmd {enter}

2. Enter the following command iisreset /STOP {enter}

3. Service Pack 2 will burst back into life and complete successfully.

 

Related Articles, References, Credits, or External Links

NA