Category Archives : Uncategorized

[Tip] How to Enable Enterprise Mode in Internet Explorer 11 and Later?

[Tip] How to Enable Enterprise Mode in Internet Explorer 11 and Later?

share this: facebook | twitter | google+ | reddit | tell a friend

The latest version of Internet Explorer web browser is 11.0 which comes preinstalled with Microsoft’s latest operating system Windows 8.1 and can also be installed in Windows 7 and Server 2008 R2 using following link:

Download Internet Explorer 11 (IE11) for Windows 7 and Server 2008 R2

IE11 comes with various new features such as preloading website content in background to optimize performance, 64-bit process for Enhanced Protected Mode, support for SPDY/3 protocol, etc.

Another interesting, useful and hidden feature introduced in Internet Explorer 11 is the "Enterprise Mode" which has been implemented to provide better support for websites having compatibility issues in IE11 web browser.

Basically Enterprise Mode in IE11 tries to behave like IE8 version so that older websites which can recognize IE8 but can’t recognize the new IE11 version, can open properly in IE11. Enterprise Mode in IE11 replicates original IE8 user agent string and outputs IE8’s response to ActiveX controls and other binaries query so that old websites can open perfectly in IE11.

Enterprise Mode also brings back many deprecated features of IE8 such as CSS Expressions, etc for websites which contain objects or legacy web apps requiring those features to run. Enterprise Mode also turns off preloading website content feature of IE11 because some old websites do not support this feature. Basically you can consider Enterprise Mode as an emulation of IE8 web browser within IE11 which uses a modified browser configuration to open incompatible websites.

Enterprise Mode in IE11 is disabled by default but interested people can enable it using following methods:

  • METHOD 1: Using Group Policy Editor (gpedit.msc)
  • METHOD 2: Using Registry Editor (regedit.exe)

Once enabled, you can use Enterprise Mode feature in IE11 or later by accessing Menubar using ALT key and then click on "Tools -> Enterprise Mode" option. It shows an icon in addressbar so that you can know if the current website is running in Enterprise Mode or not.

Internet_Explorer_Enterprise_Mode_Enabled.png

METHOD 1: Using Group Policy Editor (gpedit.msc)

You can turn Enterprise Mode on in Internet Explorer 11 or later using Group Policy Editor. Just follow these simple steps:

1. Type gpedit.msc in RUN or Start search box and press Enter. It’ll open Group Policy Editor.

2. Now go to:

Computer Configuration -> Administrative Templates -> Windows Components -> Internet Explorer

3. In right-side pane, look for "Let users turn on and use Enterprise Mode from the Tools menu" option.

4. The option would be set to Not Configured. Double-click on it and set it to Enabled.

Turn_On_Enterprise_Mode_Internet_Explorer.png

Apply the changes and now you can use Enterprise Mode feature in Internet Explorer 11 and later using "Tools -> Enterprise Mode" option in Menubar.

PS: To disable Enterprise Mode feature, again set the "Let users turn on and use Enterprise Mode from the Tools menu" option to Not Configured.

METHOD 2: Using Registry Editor (regedit.exe)

If you don’t want to use or can’t use Group Policy Editor, you can take help of Registry Editor for the same task. Just follow these simple steps:

1. Type regedit in RUN or Start search box and press Enter. It’ll open Registry Editor.

2. Now go to following key:

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\

3. Create a new key Internet Explorer under Microsoft, then create another new key Main under Internet Explorer key. Again create another new key EnterpriseMode under Main key.

So the final key structure would be:

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode

4. In right-side pane, create a new string Enable and leave its value empty as shown in following screenshot:

Enable_Enterprise_Mode_Internet_Explorer.png

That’s it. Now you can use Enterprise Mode in Internet Explorer web browser from Menubar -> Tools -> Enterprise Mode option.

PS: To disable Enterprise Mode in future, delete Enable string created in step 4.

Windows 8 (Store and all apps broken with black X, can’t access PC Settings)

http://social.technet.microsoft.com/Forums/windows/en-US/6f119828-dd1b-42da-b8b5-c6e6c0d5617c/no-apps-or-windows-store-work-after-upgrading-to-windows-81-enterprise?forum=w8itproinstall

The following finally fixed all issues for me (Store and all apps broken with black X, can’t access PC Settings):

1) Fixing the app store:

  1. Open registry editor typing regedit.exe from a command line.
  2. Browse to the registry key at HKEY_CURRENT_USER\Software\Classes\Local Settings\software\microsoft\windows\currentversion\appmodel\repository\packages.
  3. Right click on the “packages” key and bring up the “Permissions” tab.
  4. Click the “Advanced” button located at the bottom right corner.
  5. Check to see the account name that shows up as the “Owner” (this is the first line of text on the “advanced security settings” dialog for the “packages” key). It should say “SYSTEM”.  (For me this showed the built-in local Administrators group)
  6. If it is any other account, click on the “Change” button next to it.
  7. Type SYSTEM in the “select user” dialog. If “Multiple Names Found” window comes up, select the row for “SYSTEM”.
  8. Click OK to the dialogs and close them all.
  9. Run from admin command prompt:     Powershell -ExecutionPolicy Unrestricted Add-AppxPackage -DisableDevelopmentMode -Register $Env:SystemRoot\WinStore\AppxManifest.xml

2) Fixing all modern apps:

Run from admin PowerShell:

((Get-ChildItem "HKLM:SOFTWARE\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore\InboxApplications") | Get-ItemProperty).Path | Add-AppxPackage -Register -DisableDevelopmentMode

    * When I ran this the black X persisted until after the next step and reboot.  But trying to start an app gives me a new message and a link to the store.

3) Fixing 3rd party apps:

Delete the regkey: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore\[UserSid]

4) Restart.  After a reboot the apps still showed the black X for a minute or so, but it soon cleared up on its own and all apps seemed to be working again.  I was also able to update the apps from the app store once signing in with a Microsoft account.  Finally, I am again able to get into PC Settings.

Steps to move a DHCP database using netsh export

http://blogs.technet.com/b/networking/archive/2008/06/27/steps-to-move-a-dhcp-database-from-a-windows-server-2003-or-2008-to-another-windows-server-2008-machine.aspx

The DHCP database can be moved or migrated from a Windows Server 2003 server to a Windows Server 2008 server, or from one Windows Server 2008 server to another.  The information below details the necessary steps.

Export the DHCP database from a server that is running Microsoft Windows Server 2003 or Windows Server 2008

To move a DHCP database and configuration from a server that is running Windows Server 2003 or Windows Server 2008 to another server that is running Windows Server 2008:

1.   Log on to the source DHCP server by using an account that is a member of the local Administrators group.

2.   Click Start, click Run, type cmd in the Open box, and then click OK.

3.   Type netsh dhcp server export C:\dhcp.txt all , and then press ENTER.

Note: You must have local administrator permissions to export the data.

Configure the DHCP server service on the server that is running Windows Server 2008

1.   Click Start, click Administrative Tools, click Server Manager. If needed acknowledge User Account Control.

2.   In Roles Summary click Add Roles, click Next, check DHCP server, and then click Next.

Import the DHCP database

1.   Log on as a user who is an explicit member of the local Administrators group. A user account in a group that is a member of the local Administrators group will not work. If a local Administrators account does not exist for the domain controller, restart the computer in Directory Services Restore Mode, and use the administrator account to import the database as described later in this section.

2.   Copy the exported DHCP database file to the local hard disk of the Windows Server 2008-based computer.

3.   Verify that the DHCP service is started on the Windows Server 2008-based computer.

4.   Click Start, click Run, type cmd in the Open box, and then click OK.

5.   At the command prompt, type netsh dhcp server import c:\dhcpdatabase.txt all , and then press ENTER, where c:\dhcpdatabase.txt is the full path and file name of the database file that you copied to the server.

Note When you try to export a DHCP database from a Windows 2000/2003 domain controller to a Windows Server 2008 member server of the domain, you may receive the following error message:

Error initializing and reading the service configuration – Access Denied

Note You must have local administrator permissions to import the data.

6.   To resolve this issue, add the Windows Server 2008 DHCP server computer to the DHCP Admins group at the Enterprise level and redo steps 4 & 5.

7.   If the "access is denied" error message occurs after you add the Windows Server 2008 DCHP server computer to the DHCP Admins group at the Enterprise level that is mentioned in step 6, verify that the user account that is currently used to import belongs to the local Administrators group. If the account does not belong to this group, add the account to that group, or log on as a local administrator to complete the import and redo steps 4 & 5.

Authorize the DHCP server

1.   Click Start, point to All Programs, point to Administrative Tools, and then click DHCP.

Note You must be logged on to the server by using an account that is a member of the Administrators group. In an Active Directory domain, you must be logged on to the server by using an account that is a member of the Enterprise Administrators group.

2.   In the console tree of the DHCP snap-in, expand the new DHCP server. If there is a red arrow in the lower-right corner of the server object, the server has not yet been authorized.

3.   Right-click the server object, and then click Authorize.

4.   After several moments, right-click the server again, and then click Refresh. A green arrow indicates that the DHCP server is authorized.

How to make Windows Server 2012 R2 Essentials client connector install behave just like Windows Home Server

http://www.tinkertry.com/how-to-make-windows-server-2012-r2-essentials-client-connector-install-behave-just-like-windows-home-server/

Connect to Windows Server 2012 R2 Essentials without affecting your DNS, staying in workgroup mode

To find this article and registry setting easily when you’re out and about, just type tinkertry.com/connect which brings you back to this article. Please bookmark/share!

When you install the R2 connector for daily backups, if you’d rather it skip the domain join (staying in a workgroup), AND not have it not monkey with your all your NIC’s DNS settings (including Hamachi, VMware, etc), then this article is for you! The connector install is now incredibly fast on Windows 8.1, a vast improvement over all previous client connector installs. See for yourself, in the video I created below.

I’ve been wanting to get around to making the move from Windows Server 2012 Essentials (with Update Rollup 3) over to Windows Server 2012 R2 Essentials. But R2 has no Update Rollups yet. Remember those nifty Microsoft-documented tweaks for DNS that I like to think I had a little something to do with? They don’t work under R2. Even worse, that Windows Server LAN Configuration service is gone too. So I found myself in a bit of a pickle. How to make R2 behave more like its predecessors, so I could make the move?

Another hurtle is that R2 Essentials users face a rebuild from scratch anyway. Yes, you heard that right, there is no upgrade path to R2 from Windows Server 2012 Essentials, explained here. So when an issue arose with my faithful daily backup methods these past 10 months, I was facing reconfiguring my daily PC backups for 14 machines, with 5TB of daily backups to re-seed. This became strong motivation to stop fiddling with the old, and start over with the new R2. I figured I’d much rather build from scratch, while keeping my 3TB network share drive intact, just as I’ve been doing with all prior upgrades to.

For some reason, I thought it might not be too hard to figure out what Microsoft is doing with the registry keys.

So first, I simply followed the tweaks listed the Microsoft-documented tweaks for 2012 Essentials, just for grins, to see if they’d happen to work on 2012 R2 Essentials. No joy, client DNS messed up.

So I dove in deeper. Tried a few things with a bunch of Windows 8.1 builds and connector install methods. And before long, there it was, that wonderful eureka moment of discovery, obtained when tinkering with a purpose, persistently, patiently. It’s actually fun.

This one tweak to the registry, at the right spot in the install, was all I needed to get everything working just like I wanted, with:

  • domain join skipped (staying in workgroup mode), makes for a super-fast install
  • DNS unaltered for client (leaves DHCP in auto, so DHCP feeds it, rather than hard-coded DNS IP of the R2 Essentials server)
  • simple, with no services to mess with
  • no need to clean-up numerous NICs you may have (Hamachi, VMware, VPN, etc, where you don’t want DNS altered)
  • doubtful this would somehow hurt or affect any future rollups in any way

Here’s the actual procedure:

0) Uninstall any prior versions (Windows Home Server, Windows Home Server 2011, Windows Server 2012 Essentials), then reboot, before you proceed with step 1

1) Follow Microsoft’s recommended way to avoid domain join (leaving your network in Workgroup) by copying the following line into your clipboard:

reg add "HKLM\SOFTWARE\Microsoft\Windows Server\ClientDeployment" /v SkipDomainJoin /t REG_DWORD /d 1

2) Press Win+x, choose ‘Command Prompt (Admin)’

3) Right-click on the Command Prompt window, choose Paste

4) Press enter, and the registry change is then automatically made, you can close this window

5) Kick off the connector install with the usual URL:

http://servername/connect

or, if you’re on a remote network, it’s

https://servername.remotewebaccess.com/connect

6) Go through the install, and stop at the point where it asks you for credentials

7) Next, Run regedit.exe, then head to this key

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Server\Networking\ServerDiscovery

then change “SkipAutoDNSServerDetection” from False to True.

8) Enter the credentials, and the connector install will continue

Yep, that’s really all you got to do, no reboot required!

The first backup will start automatically if you’re within your backup window (time of day), and finished up in just 2 minutes in my case (SATA3 SSD to SATA3 SSD, fresh Windows 8.1 Pro build, no other backups on the server yet).

~connect-to-windows-server-2012-r2-essentials-without-affecting-your-dns-staying-in-workgroup-mode

I know folks have been clamoring for this fix for many weeks now. Thanks for your patience. Enjoy!

Transfer Outlook 2010 Auto-Complete to new computer

http://www.itsupportguides.com/office-2010/transfer-outlook-2010-auto-complete-to-new-computer/

 

MSOutlook2010-AutoComplete1

Outlook has an function to suggest email addresses as you start to type them in, commonly known as the ‘auto-complete’ feature.

It works by keeping a list of people you’ve emailed so when you go to write a new email address and start filling out the ‘to’, ‘cc’ or ‘bcc’ field it will suggest the similar email addresses.

Previous versions of Outlook stored this list in a file called ‘Outlook.nk2′ however Outlook 2010 now uses an XML file called ‘stream_autocomplete’.

Transferring the file to a new computer or user profile is a simply copy and paste process:

Please Note: Outlook needs to be closed

  1. First you need to find the file. The location may be different depending on if you’re using Windows XP or Windows 7/Vista:
    1. Windows XP -  C:Documents and Settings%username%Application DataMicrosoftOutlookRoamCache
    2. Windows 7 / Vista – C:Users%username%AppDataLocalMicrosoftOutlookRoamCache
  2. The file will start with ‘Stream_autocomplete’ followed by a string of hex numbers
  3. MSOutlook2010-AutoComplete1
  4. Copy the file to a safe location, e.g. a USB drive
  5. On the new computer or user open the same folder location and paste in the file:
    1. Windows XP -  C:Documents and Settings%username%Application DataMicrosoftOutlookRoamCache
    2. Windows 7 / Vista – C:Users%username%AppDataLocalMicrosoftOutlookRoamCache
  6. Open Outlook and check the the auto-complete has been successfully transferred.

Windows Error Codes and err.exe

http://keithga.wordpress.com/2013/10/04/windows-error-codes-and-err-exe/

It seems that the Windows Operating System loves error codes. It’s getting better, most programs will automatically translate the error code number back to a friendly error. And new or Windows 8, Microsoft has added a new error screen for the Blue Screen of Death that includes a Frown :^( emoticon.

But there are times when you need to find out what an error message actually means, or at least a hint on what it means. A friend recently asked about an error 0xc0000017 on Blue Screen of Death on a Virtual Machine. What does it mean?

I recommended a tool that I have been using internally at Microsoft, and was pleasantly surprised to find that it’s available externally. Err.exe. You can download it here: http://www.microsoft.com/en-us/download/details.aspx?id=985

When you run the tool, pass the error number as a parameter on the command line. It’s smart enough to handle decimal numbers ( 12345 )and hex numbers ( 0×4005007 )

For the error above I ran the tool and got the following output:

C:\ >err 0xc0000017
# for hex 0xc0000017 / decimal -1073741801 :
  STATUS_NO_MEMORY                                              ntstatus.h
# {Not Enough Quota}
# Not enough virtual memory or paging file quota is available
# to complete the specified operation.
# 1 matches found for "0xc0000017"

Sure enough the virtual machine had only 512MB of ram assigned, which was not enough. Bumping the ram up eliminated the BSOD.

Display Public Folder and Other Contacts in the Address Book

 

http://www.slipstick.com/outlook/contacts/display-other-contacts-in-address-book/

Tom Yeager June 20, 2013 at 2:58 pm | Permalink | Reply

Many thanks to Diane Poremsky and to all of Slipstick for this method that I have used for over a year. I’d like to suggest a similar but, for me, more successful method of showing another’s contacts in an Address Book.

This procedure never results in the "Your mailbox has been temporarily moved…" message that frequently occurred with the published method. (On some computers, I was never able to get that to go away, before now.) Nor did it ever cause the Status Bar message “Online with Microsoft Exchange” rather than the preferred “You are connected to Microsoft Exchange” which I often saw regardless of the state of my Use Cached Exchange Mode setting.

My method was tested extensively on several OL2010 installations. A key to its success is that OL 2010 allows multiple Exchange accounts under one profile. So this method will not work with OL 2007, but, likely, will work with OL 2013, which I have not tested. The OL accounts sharing out their contacts were OL 2007 and OL 2010. The Exchange server was Microsoft’s Office 365 which uses Exchange 2013 for my accounts there.

Preliminary steps, unknown if necessary, include that the shared out contacts were not the primary contacts folder, but a separate folder. The contacts owner had her own private contacts folder and a separate much larger customer contacts folder that the entire office needed to see. A sharing invitation for the customer contacts folder had been earlier sent to the other users.

My steps are
1.) In Control Panel | Mail, create a profile pointing to your own Exchange mailbox. Then, as a 2nd account (not an additional address), add the mailbox of the person owning the contacts you need access to.
2.) In OL, right-click the other user’s Contacts folder, choose Properties, then switch to the Outlook Address Book tab. Make sure that the Show this folder as an e-mail Address Book box is checked. Under Name of the address book, change the displayname from Contacts (the default) to a name that will distinguish this address list, such as Joe’s Contacts if you’re in Joe’s mailbox.
3.) Close OL!
4.) In Control Panel | Mail, open the Properties of the profile. Click Email Accounts, then Remove the 2nd account. On your own account, click Change, then More Settings, then Advanced. Add the 2nd account in as an additional address.
5.) Restart OL using this profile. The other person’s contacts will now be included in the Address Book.

Setting up NTP

http://blog.mpecsinc.ca/2014/05/hyper-v-standalone-configure-host-as.html
Hyper-V Standalone: Configure the Host as Authoritative Time Server and Guests to Use It

We have a number of single server virtualization solutions where the VMs are running at quite a high load point.

This tends to create timing issues with the VMs not being able to keep up with keeping time. In some cases we have SQL VMs that can skew time visibly.

So, we need a reliable time source. We are not able to set pool.ntp.org as the time source for the primary DC in this situation as it would not be keeping time very well either thus requiring a more frequent polling interval. Do that with ntp.org and the server will receive a Kiss-of-Death packet in short order.

So, we configure our Hyper-V host to be an authoritative time server polling ntp.org’s servers every 30 minutes.

To do so we need to set things up on the host.

  1. Allow UDP Port 123 Inbound on the firewall
  2. Configure the host as a time server:
  3. We run the Fix It Myself steps
  4. Verify Type is set to NTP
    • image
  5. We specify the regional pool.ntp.org servers
  6. Set AnnounceFlags to 5 in
    • HKLM\SYSTEM\CurrentControlSet\Services\W32Time\Config\AnnounceFlags
  7. Enable the NTPServer service by setting Enabled to 1
    • image
  8. Default Poll Interval
    • image
  9. Set the SpecialPollInterval to 15 minutes
    • image
  10. Set the phase correction settings to 30 minutes
    • image
  11. net stop w32time && net start w32time

We use this free tool to test our setup from a client system:

Drop in the Hyper-V host’s name and we should see the following:

image

Once we have a successful time poll we run the following command set on the PDCe VM as per our :

  1. w32tm /config /syncfromflags:manual "/manualpeerlist:Hyper-V.DOMAIN.LOCAL,0x1" /reliable:yes
  2. w32tm /config /update
  3. net stop w32time && net start w32time
  4. w32tm /resync /force
  5. w32tm /query /source

The final result should be the Hyper-V server as source time.

We then create a batch file with the step 4 command in it and schedule that batch file to run as frequently as every minute on the most demanding VMs.

Windows PowerShell Show-Command

 

Show-command <cmdlet> can be used until we get used to writing cmdlets easily by providing GUI to enter input parameters for the cmdlet and then let you copy it. For example, check the install-addsforest cmdlet created using show-command install-addsforest.

clip_image001

After I enter all input parameters, I have below cmdlet ready for execution:

Install-ADDSForest -DomainName Contoso.Local -CreateDnsDelegation -DatabasePath D:\ADData\NTDS -DnsDelegationCredential .\Administrator -DomainMode Win2003 -DomainNetbiosName Contoso12 -ForestMode Win2003 -InstallDns -LogPath D:\ADData\Logs -NoRebootOnCompletion -SysvolPath D:\SYSVOL

Enabling/Disabling SMB Versions

http://blogs.technet.com/b/tip_of_the_day/archive/2014/03/11/tip-of-the-day-enabling-disabling-smb-versions.aspx

While Windows Server 2012 allows you to enable and disable SMB based on versions, SMB2 and SMB3 share the same protocol stack and as such must be enabled/disabled together.

To view the current state of the SMB Server protocol configuration:

image

To disable SMB1 for SMB Server:

image

To disable SMB2/SMB3 for SMB Server:

image

To enable SMB1 for SMB Server:

image

To enable SMB2/SMB3 for SMB Server:

image

« Previous PageNext Page »
Back to Top