Windows 2012 Hosting - MVC 6 and SQL 2014 BLOG

Tutorial and Articles about Windows Hosting, SQL Hosting, MVC Hosting, and Silverlight Hosting

Windows Hosting - ASPHostPortal.com :: How to Diagnose and Prevent Windows Server Crashes

clock January 30, 2017 10:41 by author Armend

Simple Tips to Help Diagnose and Prevent Windows Server Crashes

In an enterprise setting, server failures are never an issue to be taken lightly. Since servers are the backbone of most modern operations, being able to pinpoint the cause of errors rapidly is an essential skill for any Windows server administrator. Fortunately by following a few simple steps you can easily pinpoint the cause of most Windows Server errors.

Best Practice Analysis Automation

In Windows Server 2008 R2, Windows Server 2012 and Windows Server 2012 R2, Microsoft has included a tool known as the Best Practices Analyzer (BPA). BPA is an automated scanner which when run will check your server to ensure that it is configured for optimal performance, reliability and maximum security. While this tool is not a substitute for keeping atop of Windows Server trends, BPA helps to ensure that the most commonly exploited violations are blocked on your servers.

Proactive Actions to Simplify Troubleshooting

Enable Kernel Crash Dumps

One of the most important debugging tools within Windows is the kernel crash dump file. This file typically contains all the information necessary to pinpoint the cause of a server issue. Unfortunately this feature isn’t configured by default, making it crucial that you enable this feature before experiencing issues.
To enable this feature, follow the steps below:

  • Go into:  Control Panel > System and Security > System.
  • Click Advanced system settings.
  • Under Startup and Recovery, click Settings
  • In the box that pops up, under Write Debugging Information you can specify the location for the crash dump file
    • Additionally you can have crashes added to the Windows Event Log, and you can also trigger a restart automatically upon a crash

 

After configuring the Windows crash dump settings, you will need to setup Windows to enable your keyboard to cause a system crash.
With PS/2 keyboards, you must take the following steps:

  • In the registry key HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\i8042prt\Parameters, create a value named CrashOnCtrlScroll
  • Set it equal to a REG_DWORD value of 0x01.
  • Restart your system

With USB keyboards, you must take the following steps:

  • In the registry key HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\kbdhid\Parameters, create a value named CrashOnCtrlScroll
  • Set it equal to a REG_DWORD value of 0x01
  • Restart your system

Windows Debugging Tools

To help with common issues that might come up as a server administrator Microsoft has released multiple debugging tools to make the job easier.

Sysinternals Suite

The Sysinternals suite is like a Swiss Army knife for your troubleshooting efforts. This collection of seventy tools maintained by Microsoft ensures that you can easily pinpoint the source of virtually any error and take action accordingly. While this suite is best installed on a thumb drive to be used when errors occur, you can also load this suite on your servers early on as a proactive measure.

While there are many tools within the suite, there are a couple which you should keep on mind;

  • Disckmon – this tool monitors, logs and displays all hard disk activity on a Windows system. By using this tool, you can better pinpoint errors which might be caused by pending hard disk failures.
  • Procdump – this tool allows you to monitor applications for CPU spikes and generating crash dumps during a spike. Additionally the tool can serve as a general dump utility which can be included in other scripts. By using this tool, you can greatly expedite the process of diagnosing troublesome applications and figuring out where to start debugging efforts.
  • TCPView – this tool allows you to view detailed listings of all TCP and UDP endpoints on your system. By using TCPView, you can pinpoint server issues to specific ports, allowing you to more in-depth action accordingly.

Windows Memory Diagnostics

Since RAM is one of the most used components of any server, many system failures often are due to memory-related matters. While typical memory issues involve applications using too much resources, or a process running out of control, failing hardware also can be responsible for system crashes. Fortunately you can easily diagnose potential memory trouble spots by using the Windows Memory Diagnostics tool built into most modern Windows Server editions.

  • To use this tool, simply open the command prompt and use the following command C:\mdsched
  • From there, you should follow the prompts to complete the diagnostic process.

The Importance of Backups

Even with the best tools and skills, occasionally a professional will encounter an issue which is beyond repair. When situations such as these occur, having a solid backup system always pays off. Although there are many backup tools on the market, Windows has a backup tool built in which can be used to protect yourself from even the worst disasters.
For details on implementing Windows Backup in windows Server 2008 and Windows Server 2012, Microsoft has documentation here.

Clustering as a way to Mitigate Risks

Server clustering is the process of having a group of independent servers working together as a single system to deliver more reliability to your users. Such arrangements are designed to protect against the following types of failure:

  • Applications and service failures which can affect software and essential services
  • System and hardware failures which can affect low level server components
  • Site failures in multisite organizations  which can be caused by natural disasters and other significant situations
  • By using clustering, you can ensure that when disaster strikes, your systems can continue operating instantly by shifting responsibility from the failed systems to the functional ones.

Conclusion

Although there are many variables which impact the reliability of your Windows servers, by focusing on proactive actions to mitigate damage you can avoid the difficulties of troubleshooting server issues. Even with the best precautions however, failures still occur, which is why you should familiarize yourself in advance with the technologies Windows provides to make the debugging process much easier.

Best Windows Server 2012 Hosting Recommendation

ASPHostPortal.com provides our customers with Plesk Panel, one of the most popular and stable control panels for Windows hosting, as free. You could also see the latest .NET framework, a crazy amount of functionality as well as Large disk space, bandwidth, MSSQL databases and more. All those give people the convenience to build up a powerful site in Windows server 2012. We offers Windows hosting starts from $5/month only. We also guarantees 30 days money back and guarantee 99.9% uptime. If you need a reliable affordable Windows server 2012 Hosting, we should be your best choice.

 



Windows Hosting - ASPHostPortal.com :: How to Remote Web Access login page Redirect

clock January 30, 2017 07:06 by author Dan

According to windowsserveressentials website, The issue about Remote Web Access login page Redirect is relatively simple one, in previous versions of Essentials, visiting http://server or http://server.remotewebaccess.com it would automatically redirect you to the RWA Login page at /remote. In 2016 this is not occurring.

In 2012 R2 this behaviour is controlled via default.aspx in particular, this line.

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="Microsoft.WindowsServerSolutions.Web.RootSite._Default" %>


Looking at the Content of the Default Web Site in 2016, we can see the standard IIS InetPub wwwroot folder. This is odd because usually in Essentials that path has been updated to C:\Program Files\Windows Server\Bin\WebApps\Site.


I had previously posted that we should update the PhysicalPath of the Remote Web App web site to match previous versions of Essentials. Doing so corrected the Redirect, however resulted in the below message.

I opened a support case with Microsoft regarding this behaviour and after some time was informed this behaviour was by design. Without any explanation or documentation of changing this feature.

The ‘correct’ way to solve this, is using an HTTP Redirect as shared originally by TechSpeeder, or by educating the user to enter the correct address.

We are still (some months later) yet to hear back from anyone at Microsoft about this or any other issue we have raised with Essentials 2016.

Best Windows Server 2016 Hosting Recommendation

ASPHostPortal.com provides our customers with Plesk Panel, one of the most popular and stable control panels for Windows hosting, as free. You could also see the latest .NET framework, a crazy amount of functionality as well as Large disk space, bandwidth, MSSQL databases and more. All those give people the convenience to build up a powerful site in Windows server 2016. We offers Windows hosting starts from $5/month only. We also guarantees 30 days money back and guarantee 99.9% uptime. If you need a reliable affordable Windows server 2016 Hosting, we should be your best choice.



Windows Hosting - ASPHostPortal.com :: Tips To Solve Windows Networking Issues

clock January 23, 2017 08:38 by author Dan

Almost every home today has more than one device that connects with the WiFi network in the house. Some desktops and laptops you want to connect to your WiFi network may be running different versions of Windows. Many other devices are running a completely different operating system, typically Android or iOS. Getting disparate devices and operating systems to work together on the same network can be a challenging task.

Let’s troubleshoot some of the most common networking problems in Windows.

Connecting to the network

You will most probably have issues with network connections when you try connecting a new computer or upgrade your OS. There could be multiple reasons for this. Here is a look at a few of the common ones:

Upgrading OS: When you install a new version of an OS, it can wreak havoc on the network connections. You might face various issues based on whether you upgraded or installed from scratch. If you have upgraded, you may have to reinstall the network drivers to get the WiFi working properly. The simplest way of doing this is by downloading the latest drivers from the manufacturer’s website.

IPv6 or IPv4: This is a bizarre problem. IPv4 is the most commonly used IP addressing system around today. But there is a shortage of IPv4 addresses. That is where the new IPv6 system comes into the picture. It is not quite common yet. So while it would be nice to have the option of IPv6 addresses, you should stick to IPv4 if you are still running any OS other than Windows 10.

File sharing


File sharing is something that can end up being a major problem with Windows at some point in time. Even for something as simple as copying files between systems and devices, you may face some issues. Here are a few methodologies you could consider. This is a common network problem when you upgrade your version of Windows in general.

The easiest way around this is to enable Simple File Sharing. The only problem with this is that the network will be less secure.

Be sure to enable file and printer sharing. Go to the Network & Sharing Center. Go to change advanced settings and make sure network discovery, file, and printer sharing are turned on. No, you do not turn on the microwave to cook some popcorn. That you do later when your network is working.

Now, if you are using Windows Home Server, it is not as easy for you to take advantage of file sharing. You will need to have an account and the login info, of course. There will also be the added annoyance of needing to log in each time you connect. This is especially irritating if you have to log in frequently. It may not be as annoying as your loud neighbor who listens to unnerving music all the time, but it is bothersome.

To get around this problem, what you can do is go to your user account, and uncheck the option that says users need to enter a username and password for using this computer. This is not a wise thing to do, though. It is better for you to maintain separate accounts with separate passwords while using a regular Windows 10 computer to create the HomeGroup. Also, if you choose to do this, remember that you will not be able to create more than 10 connections.

Networking

Sharing files on Windows 10 with computers running an older Windows OS can be confusing. Windows 10 comes with a couple of features that may frustrate those who are attempting to connect to Windows 10 systems from older libraries and HomeGroups.

On Windows 10, you get the opportunity of creating a HomeGroup. A password will be generated, which you will also enter on any other Windows 10 computer that you put on the same HomeGroup. This makes it very easy to connect Windows 10 computers with each other.

But old operating systems Vista or XP don’t have a HomeGroup. There are two options for connecting with older computers:

  • First, you could consider creating a special account for sharing. After doing this, give the sharing account info to anyone who you would want to join your HomeGroup. Remember to make it a standard account and not an admin account so that you don’t give full control of your computer to someone else.
  • Another option is available from the control panel, under the advanced networking setting. Here, select “use user accounts & passwords to connect to other computers.”

Other tips and tricks

  • If you are having problems with sharing, consider changing your network from “Home” to “Public.” This may help.

  • When you start Windows 10, you will have to choose between Home, Work, or Public networks. If you are using a laptop, you might want to go with Public because you will be using it in coffee shops or other areas and would want to keep it safe. You should not do this when connected to your home network since it will make it hard for you to share files.

  • Mapping network drives will help prevent any networking problems when using applications that need drive letters. You should always use mapped drives instead of network locations. Creating network locations is rather simple, but you will not be able to use it with applications that ask for drive letters instead of network locations.

  • It may be tempting to skip the whole HomeGroup creation step, but you should not. This is critical, especially if you are running multiple Windows 10 PCs. Once a HomeGroup is created, it becomes easy to connect with other machines. Also, there is no limit to the number of systems that can be a part of your HomeGroup.

  • The networking troubleshooter can prove to be useful if you are having trouble. Yes, you could search online but the networking troubleshooter will also give you some answers and suggestions. It is nothing like the earlier versions of Windows. It will find a solution in most cases.

Best Windows Server 2016 Hosting Recommendation

ASPHostPortal.com provides our customers with Plesk Panel, one of the most popular and stable control panels for Windows hosting, as free. You could also see the latest .NET framework, a crazy amount of functionality as well as Large disk space, bandwidth, MSSQL databases and more. All those give people the convenience to build up a powerful site in Windows server 2016. We offers Windows hosting starts from $5/month only. We also guarantees 30 days money back and guarantee 99.9% uptime. If you need a reliable affordable Windows server 2016 Hosting, we should be your best choice.



Windows Hosting - ASPHostPortal.com :: How To Set Up And Configure DNS On Windows Server 2016

clock January 23, 2017 04:50 by author Armend

Domain Name System (DNS) is central to TCP/IP hostname resolution and Active Directory itself. Learn to install and configure the DNS Server role in Windows Server 2016.
Domain Name System (DNS), defined in several Request for Comments (RFC) documents, performs a single task: translating user-friendly hostnames to IPv4 or IPv6 addresses. The DNS server in Windows Server 2016 works the same basic way as it does in Windows Server 2012 R2. However, the Windows Server engineering team added some worthwhile enhancements, including DNS policies and Response Rate Limiting (RRL).

Installing the DNS Server Role

To install the DNS Server role, we can open an elevated Windows PowerShell console (right-click the PowerShell icon and select Run as Administrator from the shortcut menu) and run a single command:
Install-WindowsFeature -Name DNS -IncludeAllSubFeature -IncludeManagementTools
If you're more of a GUI-minded administrator, you can use Server Manager to install DNS Server.

Using Server Manager to install DNS Server in Windows Server 2016

As shown in the preceding screen capture, I already have DNS Server installed on my Windows Server 2016 domain controller.

Setting DNS Server Preferences

We can manage the Windows Server DNS Server in a variety of ways:

  •     DNS Manager Microsoft Management Console (MMC)
  •     Windows PowerShell DNS cmdlets
  •     Dnscmd.exe command-line utility

Windows Server 2016 also includes the traditional Nslookup.exe and IPConfig.exe command-line tools as well. If you install the Remote Server Administration Tools (RSAT) tools on your administrative workstation, you'll get all the aforementioned DNS Server management utilities.
Open the DNS Manager by typing dnsmgmt.msc from your elevated PowerShell console. Right-click your server and you'll see a number of configuration options directly on the shortcut menu. For instance, you can:

  • Create a new forward or reverse lookup zone
  • Scour your DNS zone files for outdated and/or inaccurate records
  • Purge the server's resolver cache
  • Pause, stop, start, or restart the server

Best Windows Server 2016 Hosting Recommendation

ASPHostPortal.com

ASPHostPortal.com provides our customers with Plesk Panel, one of the most popular and stable control panels for Windows hosting, as free. You could also see the latest .NET framework, a crazy amount of functionality as well as Large disk space, bandwidth, MSSQL databases and more. All those give people the convenience to build up a powerful site in Windows server 2016. We offers Windows hosting starts from $5/month only. We also guarantees 30 days money back and guarantee 99.9% uptime. If you need a reliable affordable Windows server 2016 Hosting, we should be your best choice.

 



Windows Hosting - ASPHostPortal.com :: Reset Password in Windows Server 2016

clock January 9, 2017 05:31 by author Armend

Windows Server 2016 brings a host of new features that greatly enhance the functionality of the operating system. Many of these improvements expand on existing capabilities of Windows Server 2016.  The new product also benefits from having the capability of performing at a much higher level than previous servers and comes equipped with an integrated virtualization platform.

 

In this article I will tell you about how to reset Windows Server 2016 R2 lost admin password. The answer is not absolute. For example, if you have password reset disk or another administrator available, Windows server 2016 r2 lost admin password would be reset instantly.
Or if you have backup Windows system status with disk, such as Windows system restore disc, you could restore Windows server 2016 r2 to early system point.
Even though there are not anything available for recovering server 2016 r2 password, Windows system 2012 r2 installation disk and third-party recovery tool would help you too.

First, Windows system installation disk reset Windows server 2012 r2 admin password.
Preparation: a copy of Windows server 2012 r2 installation disk
The key step of resetting server 2012 r2 admin password with installation disk is to replace Utilman.exe.

  • Boot off Windows disk and select the "Repair your computer" option from the lower left-hand corner.
  • Get to the option to open the Command Prompt.
  • Type the following commands to back up the utilman.exe file:
  • MOVE C:WindowsSystem32Utilman.exe C:WindowsSystem32Utilman.exe.bak
  • Copy cmd.exe and rename it Utilman.exe.
  • COPY C:WindowsSystem32cmd.exe C:WindowsSystem32Utilman.exe
  • Now you can go ahead and reboot your machine. When it's done booting up again and you are at the Logon screen click on the Ease of access icon.
  • Now you have replaced Utilman.exe with cmd.exe.
  • Command Prompt opens, type following commands:
  • .net user administrator *

Once you press Enter, you will be asked to set a new password and then confirm it. When entering new one, don't worry if you can't see it, because it is invisible, however it has been remembered.
Once you're logged in again, don't forget to delete Utilman.exe and then rename Utilman.exe.bak back to plain old Utilman.exe.

Second, reset server 2016 admin password with third-party Windows password genius.
Windows Password Genius has four versions available, standard, professional, and advanced and raid. And the raid version is special, because it works for raid server Windows domain or local admin password reset. The advanced is general version, working on both server and client computers.

So choose appropriate Windows password recovery version to burn a password reset disk and then recover Windows server administrator password.
Preparation: Windows Password Genius Advanced/Raid, available computer and bootable USB drive.

  • Install Windows Password Genius Raid, and run it on available computer.
  • Insert bootable USB drive into this available computer and choose USB, click "Begin burning" to create password reset disk with USB.
  • Exit USB device after it is successfully burned with password reset disk.
  • Plug USB into server 2016 and boot server from USB.
  • Recovery tool program runs, and then choose Windows system - Windows serve 2016  and select user account - administrator.
  • Click "Reset Password", the administrator would be set with new password "[email protected]".

At last, reboot server computer to finish Windows password reset. But remember to exit USB reset disk from server before your server computer boots from hard disk successfully.

Best Windows Server 2016 Hosting Recommendation

ASPHostPortal.com

ASPHostPortal.com provides our customers with Plesk Panel, one of the most popular and stable control panels for Windows hosting, as free. You could also see the latest .NET framework, a crazy amount of functionality as well as Large disk space, bandwidth, MSSQL databases and more. All those give people the convenience to build up a powerful site in Windows server 2016. We offers Windows hosting starts from $5/month only. We also guarantees 30 days money back and guarantee 99.9% uptime. If you need a reliable affordable Windows server 2016 Hosting, we should be your best choice.



About ASPHostPortal.com

We’re a company that works differently to most. Value is what we output and help our customers achieve, not how much money we put in the bank. It’s not because we are altruistic. It’s based on an even simpler principle. "Do good things, and good things will come to you".

Success for us is something that is continually experienced, not something that is reached. For us it is all about the experience – more than the journey. Life is a continual experience. We see the Internet as being an incredible amplifier to the experience of life for all of us. It can help humanity come together to explode in knowledge exploration and discussion. It is continual enlightenment of new ideas, experiences, and passions


Author Link


Corporate Address (Location)

ASPHostPortal
170 W 56th Street, Suite 121
New York, NY 10019
United States

Sign in