Händelser
29 apr. 14 - 30 apr. 19
Delta i det ultimata virtuella Windows Server-evenemanget 29-30 april för djupgående tekniska sessioner och live-Q&A med Microsoft-tekniker.
Registrera dig nuDen här webbläsaren stöds inte längre.
Uppgradera till Microsoft Edge och dra nytta av de senaste funktionerna och säkerhetsuppdateringarna, samt teknisk support.
An in-place OS upgrade (feature update) allows you to go from an older operating system to a newer one while keeping your settings, server roles, and data intact. This article teaches you how to move to a later version of Windows Server by using a Feature Update.
Viktigt
This article covers the Windows Server Feature Update process for non-Azure servers and virtual machines (VMs) only. To do a Feature Update of Windows Server running in an Azure virtual machine (VM), see In-place upgrade for VMs running Windows Server in Azure.
Before you start upgrading, complete the following prerequisites:
Anteckning
If you're performing a Feature Update of a Windows Server 2012 or Windows Server 2012 R2 server with Configuration Manager installed, follow the preupgrade and post-upgrade instructions at Upgrade on-premises infrastructure that supports Configuration Manager.
We recommend that you collect some information from your devices for diagnostic and troubleshooting purposes in case the Feature Update is unsuccessful. We also recommend you store the information somewhere you can access even if your device is unavailable.
To collect your information:
Open an elevated PowerShell prompt, make a note of your current directory, and run the following commands.
Get-ComputerInfo -Property WindowsBuildLabEx,WindowsEditionID | Out-File -FilePath .\computerinfo.txt
systeminfo.exe | Out-File -FilePath systeminfo.txt
ipconfig /all | Out-File -FilePath ipconfig.txt
Tips
Get-ComputerInfo
requires PowerShell 5.1 or later. If your Windows Server version doesn't include PowerShell, you can find this information in the registry. Open Registry Editor, go to the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion key, and then copy and paste the Windows Server BuildLabEx and EditionID values.
Using File Explorer, navigate to the directory you noted down, and copy the files to a USB flash drive or network location off of your computer.
After you collect all of your Windows Server-related information, we recommend that you back up your server operating system, apps, and VMs. You must also shut down, quick migrate, or live migrate any VMs currently running on the server. You can't have any VMs running during the Feature Update.
Now that you completed the prerequisites and collected diagnostic information, you're ready to perform the in-place upgrade. In this section, you use Windows Server Setup to select the settings for the in-place upgrade. Windows Server Setup uses these settings to update your version of Windows Server, during which time your computer restarts several times.
To perform the in-place upgrade:
Using File Explorer, navigate to the Windows Server Setup media. Then open setup.exe. For example, if you're using removal media the file path might be D:\setup.exe.
Viktigt
Depending on your security settings, User Account Control might prompt you to allow setup to make changes to your device. If you're happy to continue, select Yes.
By default, setup automatically downloads updates for the installation. If you're okay with the default settings, select Next to continue.
If you don't want Setup to automatically download updates, select Change how Setup downloads updates, choose the option appropriate to your environment, and then select Next.
If prompted, enter your product key and then select Next.
Select the edition of Windows Server you want to install and then select Next.
Review the applicable notices and license terms. If you agree to the terms, select Accept.
Select Keep personal files and apps to choose to do an in-place upgrade, and then select Next.
After Setup finishes analyzing your device, it displays the Ready to install screen. To continue the in-place upgrade, select Install.
The in-place upgrade starts, and you should see a progress bar. After the in-place upgrade finishes, your server restarts.
After the in-place upgrade to Windows Server is done, you must make sure the upgrade was successful.
To make sure your in-place upgrade was successful:
Open an elevated PowerShell prompt and run the following command to verify that the version and edition matches the media and values you selected during setup.
Get-ComputerInfo -Property WindowsProductName
Make sure all of your applications are running and that your client connections to the applications are successful.
If your computer isn't working as expected after the Feature Update, you can contact Microsoft Support for technical assistance.
The following articles can help you prepare for and use your new Windows Server version:
If you'd like to learn more about deploying and post-installation configuration and activation options, check out the Windows Server deployment, configuration, and administration learning path.
Händelser
29 apr. 14 - 30 apr. 19
Delta i det ultimata virtuella Windows Server-evenemanget 29-30 april för djupgående tekniska sessioner och live-Q&A med Microsoft-tekniker.
Registrera dig nuUtbildning
Modul
Uppgradera och migrera virtuella Windows Server IaaS-datorer - Training
Lär dig hur du migrerar en arbetsbelastning som körs i Windows Server till en virtuell IaaS-dator (infrastruktur som en tjänst) och till Windows Server 2025 med hjälp av Migreringsverktyg för Windows Server eller Storage Migration Service.
Certifiering
Som Windows Server-hybridadministratör integrerar du Windows Server-miljöer med Azure-tjänster och hanterar Windows Server i lokala nätverk.
Dokumentation
Funktionsuppdatering, ren installation eller migrering till Windows Server
Viktig information när du utför en funktionsuppdatering, ren installation eller en migrering till Windows Server.
Microsoft Server-programkompatibilitet för Windows Server
Lär dig mer om kompatibiliteten för Microsoft-serverprogram på Windows Server.