Windows 2012 Hosting - MVC 6 and SQL 2014 BLOG

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

Windows 2012 Hosting - Ensure Super Fast SSAS Tabular Models

clock July 17, 2018 13:00 by author Kenny

SQL Server Analysis Services (SSAS) Tabular is a popular choice as an analytical engine for many customers. With its state-of-the-art compression algorithms, multi-threaded query processor and in-memory capabilities, SSAS Tabular can provide super quick access to data by reporting client applications. However, as a consultant, we have been called by many clients to resolve slow query performance when accessing data from SSAS Tabular models. Our experiences have taught us most, if not all, of the performance issues can be resolved by taking care of the following five subject areas. 

Estimate Current Size and Growth Carefully

Tabular models compress data really well and on an average, you can expect to see 10x the compression rates (though it can be much more or less depending on the cardinality of your data). However, when you are estimating the size of your model as well as future growth, a rough figure like this is not going to be optimal. If you already have data sitting in a data warehouse, import a subset of that data — say a month — to find the model size for that and then extrapolate the value based on the required number of rows / years as well as the number of columns. If not, try to at least get a subset of the data from the source to find the model size. There are tools like BISM Memory Report and Vertipaq Analyzer that can further help in this process.
It is also important to record the number of users who will be accessing the system currently as well as the estimated growth for the number of users.

Select or Upgrade Hardware Appropriately

Everyone knows SSAS Tabular is a memory intensive application, and one major issue I have seen is only the RAM is considered when hardware selections are made. However, just focusing on the RAM is not enough and there are a lot of other variables. Suppose all the other variables are constant and there is an unlimited budget, these are the recommendations:

CPU Speed – The faster, the better, will help in computing results faster especially when there is a bottleneck on the single-threaded formula engine.

CPU Cores – In theory, the more the better as it helps in managing concurrent user loads. However, in reality, a rise in the number of cores usually corresponds to a decrease in the CPU speed due to management overload. So a balanced approach has to be taken when determining the CPU Cores and Speed. Also, licensing cost increases with the number of cores for many software.

CPU Sockets – The lesser, the better as SSAS Tabular is not NUMA aware till SQL 2014. However, this is expected to change in SQL 2016 where some NUMA optimization has been made. For large tabular models, it might be a challenge to go single socket as the amount of RAM that can be supported on a system will depend on the CPU sockets.

CPU Cache – The more, the better. Retrieving data from CPU caches are 10-100x faster than retrieving data from RAM.

CPU Architecture – The newer, the better due to the hardware performance optimizations. For eg, Intel Xeon processors with Haswell architecture is always going to be faster than Sandy architecture keeping all other variables constant.

Amount of RAM – Should have at least 2.5x the model size, if the model is going to be processed on the same server. The amount of RAM can be lesser in cases of certain scale out architectures where the model is processed in a separate server.

RAM Speed – The faster, the better (yes, RAMs have speed too!) This is very important for a memory-bound application like Tabular and should always go for the faster speeds, if budget allows.

Storage – Not important at all as it does not have any effect on query performance. However, if budget allows, it might not be a bad idea to get faster storage like SSDs, as that will help in maintenance related activities like backup, storage or even getting the tabular model online faster when the service is restarted. Apart from this, there are other factors also like network latency, server architecture (scale out), etc that have to be considered, but depending on the budget and specific customer requirements, a balanced approach will have to be made.

Design the Data Model Properly

Tabular is really good at performance and in the case of small models, is extremely forgiving in terms of bad design. However, when the amount of data grows, performance problems begin to show up. In theory, you will get the best performance in SSAS tabular if the entire data is flattened into a single table. However, in reality, this would translate to an extremely bad user experience as well as a lengthy and expensive ETL process. So the best practice is to have a star schema, generally. Also, it is recommended to only include the relevant columns from the source tables, as increasing the columns will result in an increase in model size which in turn will result in slower query performances. Increase in number of rows might still be ok as long as the cardinality of the columns don’t change much.
Depending on the specific customer requirements, there could be deviations from the best practices. For e.g., we built custom aggregate tables along with the detailed fact table in the case of a very large production model for a client. The resultant measure had a conditional statement to retrieve data from the aggregate table if the detailed level dimension data was not used in the report. Since the aggregate table was only 1/10 the size of the detailed fact table, the query came out 10x times faster whenever the details were not used, which was almost 90% of the times.

Optimize the DAX Calculations

In case of small models, Tabular is extremely forgiving in terms of bad DAX code also. However, just like in the case of bad design, performance takes a hit for the worse as you increase the data, add more users, or run complex queries. DAX performance tuning is the most difficult to tune from the current list, and it is important to have a strategy for maintaining and tuning the performance. A good place to start would be the Performance Tuning of Tabular models in SSAS 2012 whitepaper.

Monitor User Query Patterns and Train Users

Once your model is in production, it is important to keep monitoring the user query patterns as well as the resources to see potential bottlenecks. Through this, you can find whether the performance issues are being caused due to inefficient DAX, bad design, insufficient resources or most importantly, whether it is just because a user is using the model inefficiently. For e.g., in one of the cases, we found out the slow performance for all users was due to a single user dumping the entire 100 GB model into spreadsheets so he could perform custom calculations on top of it. This blocked the queries for all the other users and made things really slow for them. With appropriate requirement gatherings, we ensured all the required calculations for that user were there in the model and then trained the user to use the model for his analytics.

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 2008. 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 2008/2012/2016 Hosting, we should be your best choice.



Windows Server Hosting - Configure DNS In Windows Server 2012 Step by Step Tutorial

clock July 10, 2018 12:01 by author Kenny

DNS (Domain Name System) carries a major role in any version of SharePoint in various scenarios / configuration levels, like:
– Alternate access mapping
– Configuring App model
– Configuring Active Directory Domain Services
Let us see the step by step approach to configure DNS in windows server 2012 for SharePoint 2013. Configuring DNS involves adding DNS role in server 2012. Below steps walk us through the same:
1. Open server manager by start -> Server Manager. Then click on Add roles and features. Then click on Next in the “Before You Begin” wizard. Then in the Installation Type select the default “Role-based or feature-based installation” radio button.
2. Select the desired server name to be configured the DNS in the list.



3. Then Click on Next, then in the Server Roles, select “DNS Server”. 



4. Click on check box to restart the server after the role configuration and click on Install to configure DNS.

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 2008. 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 2008/2012/2016 Hosting, we should be your best choice.



Windows Server Hosting - ASPHostPortal.com :: Repairing Windows Update Issues with the System Update Readiness Tool (CheckSUR)

clock March 13, 2017 06:09 by author Armend

This article provides information on using the System Update Readiness Tool to repair Windows Update-related issues in Windows Vista, Windows 7, Windows Server 2008, and Windows Server 2008 R2.

The System Update Readiness Tool (CheckSUR) is a downloadable utility from Microsoft that can be used to fix a variety of problems related to Windows updates. It does so by scanning files and registry keys associated with updates and replacing corrupt ones with good versions. The complete list of Windows Update error codes addressed by CheckSUR is shown in Microsoft Knowledgebase article KB947821, which also contains download links for all versions of CheckSUR.

To use CheckSUR, simply download the applicable version from KB947821 and run it on the affected system. It will appear to install like any other update:

During this "installation" process, CheckSUR is actually checking files and registry settings for installed updates. This process may take 15 minutes or more to complete, and interrupting it is not recommended. When it completes, the results are not displayed on the screen but can be found in %windir%\Logs\CBS\CheckSUR.log. The Summary section will indicate how many errors were found. If it indicates that all errors were fixed, the issue is likely resolved, and you may attempt to install Windows updates again.
Often, CheckSUR will not be able to automatically fix all of the errors it finds. This is usually due to the necessary repair files not being present. When this occurs, the needed files must be obtained from another source, such as an update package from Microsoft or a working machine running the same version of Windows as the affected machine:

  • The names of missing files will often include the name of the update package that contains them. For example, the file named Package_for_KB958690_sc_0~31bf3856ad364e35~amd64~~6.0.1.6.mum is included in update KB958690, which can be downloaded from Microsoft.
  • If the filename of a missing file does not indicate which update package contains it, you may still be able to locate it by searching the Web for the filename, since file manifests for hotfixes are often listed in the corresponding Microsoft Knowledgebase articles.
  • If a Web search for the filename is unsuccessful, the file can be copied from a working machine that is running the same edition of Windows as the affected machine. The two machines must have the same system architecture (32- or 64-bit).

Regardless of the source, the files should be copied to a particular directory on the affected machine, depending on the type of file being copied:

  • Files with .msu, .mum, and .cat extensions should be copied to %windir%\Temp\CheckSUR\Packages. It may be necessary to create the Packages directory first.
  • Files with the .manifest extension should be copied to %windir%\Temp\CheckSUR\manifests directory.

After copying the files to the appropriate directory, run CheckSUR again. The presence of the repair files should allow it to fix the errors it encounters.

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 2008. 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 2008 Hosting, we should be your best choice.

 



Windows Server Hosting - ASPHostPortal.com :: How To Fix Connection Was Denied RDP Errors

clock March 6, 2017 04:44 by author Armend

When a user tries to RDP into a server or workstation they may get the error “The connection was denied because the user account is not authorized for remote login”. The cause of this error is really common but easy to fix.

The most common cause of the connection was denied error is either the user is not part of the Remote Desktop User Group or the local security policy is not configured to allow remote access.

If the user is already in the Remote Desktop User Group but the error “The connection was denied because the user account is not authorized for remote login” persists then have a look at local security policy of the server or workstation you are trying to RDP into.

Click Start > Run and type: secpol.msc

Expand Local Policies and click on User Right Assignment. This should now bring up more options in the right window of the Local Security Policy, as shown below.

Find Allow log on through Remote Desktop Services, right click on it and select Properties. You will now have the option to Add User or Group.

If this is a new server/workstation deployment you probably won’t have the Remote Desktop User Group listed. If the RDP group is already listed here, try and add the individual user that is getting the error.
Once you add the Remote Desktop Group or User then RDP should work but to be on the safe side, ensure the Remote Desktop service Logon account is the Network System and not as a local service.

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 2008. 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 2008 Hosting, we should be your best choice.

 



Windows Server Hosting - ASPHostPortal.com :: How to Back Up a Windows Server 2016 Domain Controller

clock February 27, 2017 06:49 by author Armend

The domain controller role is central to an Active Directory-based network. Learn how to protect your Windows Server 2016 domain controllers by using first-party backup tools.
In the Microsoft technology stack, the domain controller provides core identity services to your business network. As such, the loss of a domain controller can create a denial of service (DoS) and bring your network services to a grinding halt.
I've identified three ways you can back up the System State of a Windows Server 2016 domain controller. The good news here is that the process hasn't changed from Windows Server 2012 R2

What is the System State?

Windows Server computers (physical or virtual) have a data collection called the System State that can be backed up specifically by the systems administrator. Depending on the server's infrastructure role, different data may comprise that machine's System State. The System State consists of the following files:

  •     Active Directory database (domain controllers)
  •     Sysvol shared folder (domain controllers)
  •     Certificate Services database (certification authorities)
  •     Cluster database (failover cluster nodes)
  •     Boot files, system files, and files covered by Windows File Protection
  •     Windows Registry
  •     Performance Monitor counter configuration data
  •     Component Services class registration database

Note: the following methods are presented no particular order.

Method #1: Windows PowerShell

Open up an elevated Windows PowerShell prompt on your server and run the following command to install the Windows Backup cmdlets:

  • Install-WindowsFeature -Name Windows-Server-Backup -IncludeAllSubfeature -IncludeManagementTools

This process won't require a restart. You can enumerate all the backup commands like so:

  • Get-Command -Module WindowsServerBackup

The following script will create a System State backup of the local server and save the backup to my F: data volume. You'll notice that I've commented on every line so you can easily see what's going on.

NOTE: Here I focus only on backing up the System State. You can perform other file system (or even system image) backups on your servers. And, you can make use of such tools as Task Scheduler or AT.EXE to schedule your backups.

  • #create the backup policy
    $policy = New-WBPolicy
  • #back up the System State
    Add-WBSystemState -Policy $policy
  • #declare the backup location as my F: volume
    $target = New-WBBackupTarget -VolumePath "F:"
  • #add the backup location to the policy
    Add-WBBackupTarget -Policy $policy -Target $target
  • #start the backup
    Start-WBBackup -Policy $policy

Method #2: Windows Backup

If you're not a PowerShell fan, then you may want to use the graphical backup utility that has shipped with Windows Server since the very beginning. Follow the procedure in the previous section (no escaping PowerShell completely, I'm afraid) to install the Windows Backup feature.
You can then start the Windows Server Backup Microsoft Management Console, as shown in Figure 1

Select Local Backup from the Console pane, and then in the Actions pane, click Backup Once to start the Backup Once Wizard. You'll complete the following steps:

  • Choose the Custom backup option
  • Select the System State to back up (shown in Figure 2)
  • Decide whether you're backing up to a local or remote volume

Method #3: Microsoft Azure

This procedure will work only if you have an Azure subscription. Then, the first thing you need to do is to log into the Azure Portal (portal.azure.com) and create a Recovery Services vault.

Second, you create a Backup object inside your vault, as shown in Figure 3.

 

After specifying to Azure that you want to back up the System State of an on-premises virtual machine, you'll be prompted to download and install the Microsoft Azure Backup agent.

The bad news is that this "agent" is actually a full-fledged server, based on Microsoft Data Protection Manager (DPM), whose download comprises 3.2 gigabytes and that requires a SQL Server instance for installation.
After you get the Azure Backup Server installed, you'll need to register your Windows Server 2016 domain controller with your Azure vault. Finally, you'll use the Azure Backup Server user interface to send your System State backups to the Azure cloud.

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 2008. 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 2008 Hosting, we should be your best choice.



Windows Server Hosting - ASPHostPortal.com :: Tricks To Make You A Great Admin in windows server 2012

clock February 20, 2017 05:09 by author Armend

Tricks To Make You A Great Admin in windows server 2012

Windows Server 2012 is much advanced than its predecessors. Understanding its capabilities can make every admin’s job a lot easier and make them look like a true wizard. Here are some tricks to help you learn more about Windows Server 2012.

Take advantage of new & improved server management system

One of the easily noticeable things about the 2012 edition is the Server Manager. Microsoft combined the server roles installer and the features installer to save users the hassles of having to install them twice. New server roles can be assigned simply by clicking on Manage and then Add server. The new server manager is intelligent enough to group the server roles based to the appropriate server and displays the management tools for the server and the tools for editing them, all in the same window.

Team up the network adapters

Teaming network adapters together is an effective way to either increase the availability of server or to increase the speed and performance, and this functionality has been incorporated into the 2012 server core. It allows combining Ethernet connections via compatible network cards together without the hassles of adding any specific tools. To team network adapters together, simply enter the server manager, find the Local server menu, and find the compatible adapters you can team together and link them by right clicking and entering the features menu.

Do a lot more with your iSCSI protocol

The new Windows server 2012 allows users to assign roles to virtual hard drives and set them up as internet small computer system interface (iSCSI) targets over the network. To enable the feature, assign the roles in the server manager under the Files and iSCSI tab and set up the size and configuration of the virtual hard disk and its access properties.

Enable Remote Server Administration

In addition to the all-powerful server manager, Windows Server 2012 also offers remote server administration tools or RSAT that can be used to control the connected servers from a Windows 8 operating system. The function can be activated by downloading the .msu tool files from support and adding the local server through your server manager control menu.

Pick right interface environment

The new graphical interface of the Windows Server 2012 lacks many of the features available with previous editions. Even applications such as IE are missing from it. But the server core retains all the command-line management tools ensuring complete functionality. But you can optimize the graphical interface from the server manager and also choose which functionalities to retain and which ones to remove. Essentially you have three options, they are the desktop experience feature, the graphic tools and infrastructure, and the graphic shell feature. You can choose to either keep all of them or a selected few.

Set up the basic configurations

Many of the basic configurations which needed to be settled during installation can now be handled easily, thanks to the server manager. You can change most of the configuration by simply navigating to the Local server link in the server manager menu. Also you can change the security options of Internet explorer for hassle free downloads right from the server manager as well.

Get complete control using virtual domain controller

Need for having a physical domain controller to enable the Hyper-V cluster just to host the connection and USN rollback due cloning of domain controller’s VM used to be a huge headache, but in the 2012 server edition all these little problems have been effectively eliminated and pose no threats to the active directory. However, still there are few restrictions on cloning the DC, such as the requirement for presence of two DCs, with one containing the PDC emulator and so on. Simply add the DCcloneconfig.xml file to the source active directory and make sure the appropriate DC is switched off. Then create the virtual machine import the server using PowerShell to initiate the cloning process.

Activate Replication of Hyper V

Windows server 2012 allows users to replicate virtual hard disks and domain controllers without the requirement of clusters. To configure the replication, ensure the option is enabled in the Hyper V settings panel, and define server from which the replicas need to be attended. Then simply activate the replication method for the virtual server by right clicking and selecting the enable option. You can also choose to schedule the replication for a later time.

Start from Hyper V failover

Though not frequent, failovers can occur when operating with Hyper V replicates. So it’s better to create a scheduled failover and restore point such that the manager starts replication from a known target source VM. To schedule a failover for a replication, navigate to the appropriate replicate in the Hyper V manager and click on failover in the pop-up menu and enable the action by choosing a restore point.

Configure virtual server backup

Backing up is always a good idea, and the Windows Server 2012 edition with Veeam offers the easiest way to do it. Admins can back up both virtual and normal servers, integrate the Hyper-V clusters, and even backup individual items instantly with no downtime using the Veeam backup too.

Familiarize PowerShell to control servers

The PowerShell application gains an all new functionality upgrade allowing admins to list, control, manipulate and prevent replication of servers. Discover all the active servers with the commandlet Get-ADReplicationUpToDatenessVectorTable* | sort Partner,Server | ft Partner,Server,UsnFilter. Check the status of active director replication, view individual sites and domain controllers and lot more using the PowerShell commandlets.

Configure the DHCP failover

Similar to the Hyper V failover setup, the DHCP can also be configured to start off from fail safe and allows connection of two IpV4 servers. To enable the failover, navigate to the DHCP server console, locate the DHCP server you want to configure and enable the failover properties. Enter the details of the available fail-safe server and create the link between the two. Once configured the properties will be displayed on the failover properties tab.

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 Disabling Secure Boot in windows Server r2

clock February 13, 2017 05:17 by author Armend

How to Disabling Secure Boot in windows Server r2

You may need to disable Secure Boot to run some PC graphics cards, hardware, or operating systems such as Linux or previous version of Windows.
Secure Boot helps to make sure that your PC boots using only firmware that is trusted by the manufacturer.
For most PCs, you can disable Secure Boot through the PC’s firmware (BIOS) menus. For logo-certified Windows RT 8.1 and Windows RT PCs, Secure Boot is required to be configured so that it cannot be disabled.

Warning

After disabling Secure Boot and installing other software and hardware, it may be difficult to re-activate Secure Boot without restoring your PC to the factory state.
Be careful when changing BIOS settings. The BIOS menu is designed for advanced users, and it's possible to change a setting that could prevent your PC from starting correctly. Be sure to follow the manufacturer's instructions exactly.

To disable Secure Boot:

  • Before disabling Secure Boot, consider whether it is necessary. From time to time, your manufacturer may update the list of trusted hardware, drivers, and operating systems for your PC. To check for updates, go to Windows Update, or check your manufacturer's website.
  • Open the PC BIOS menu. You can often access this menu by pressing a key during the bootup sequence, such as F1, F2, F12, or Esc.
  • Or, from Windows, hold the Shift key while selecting Restart. Go to Troubleshoot > Advanced Options: UEFI Firmware Settings.
  • Find the Secure Boot setting, and if possible, set it to Disabled. This option is usually in either the Security tab, the Boot tab, or the Authentication tab.
  • Save changes and exit. The PC reboots.
  • Install the graphics card, hardware, or operating system that’s not compatible with Secure Boot.
    In some cases, you may need to change other settings in the firmware, such as enabling a Compatibility Support Module (CSM) to support legacy BIOS operating systems.
  • To use a CSM, you may also need to reformat the hard drive using the Master Boot Record (MBR) format, and then reinstall Windows.
  • If you’re using Windows 8.1, you may see a watermark on the desktop alerting you that Secure Boot is not configured correctly.

To re-enable Secure Boot:

  • Uninstall any graphics cards, hardware, or operating systems that aren’t compatible with Secure Boot.
  • Open the PC BIOS menu. You can often access this menu by pressing a key during the bootup sequence, such as F1, F2, F12, or Esc.
  • Or, from Windows: go to Settings charm > Change PC settings > Update and Recovery > Recovery > Advanced Startup: Restart now. When the PC reboots, go to Troubleshoot > Advanced Options: UEFI Firmware Settings.
  • Find the Secure Boot setting, and if possible, set it to Enabled. This option is usually in either the Security tab, the Boot tab, or the Authentication tab.
  • On some PCs, select Custom, and then load the Secure Boot keys that are built into the PC.
  • If the PC does not allow you to enable Secure Boot, try resetting the BIOS back to the factory settings.
  • Save changes and exit. The PC reboots.
  • If the PC is not able to boot after enabling Secure Boot, go back into the BIOS menus, disable Secure Boot, and try to boot the PC again.
  • In some cases, you may need to refresh or reset your PC to its original state before you can turn on Secure Boot. For more info, see How to restore, refresh, or reset your PC.
  • If the above steps don’t work, and you still want to use the Secure Boot feature, contact your manufacturer for help.

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 Server - ASPHostPortal.com :: How to Reset Windows Server 2012 R2

clock February 6, 2017 05:24 by author Armend

Is resetting Windows server 2012 r2 admin password difficult, if we lost the the privilege to logon or access server 2012 r2 computer or domain controller? The answer is not absolute. For example, if you have password reset disk or another administrator available, Windows server 2012 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 2012 r2 to early system point.

Even though there are not anything available for recovering server 2012 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 2012 r2 admin password with third-party Windows password genius.

Windows Password Genius has four versions available, standard, professional, 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 2012 r2 and boot server from USB.
  • Recovery tool program runs, and then choose Windows system - Windows serve 2012 r2, 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 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 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 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.

 



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