您是否需要或只想知道Windows何时安装在您的计算机或设备上?也许您的工作需要这些信息?是不是因为你想吹嘘你的操作系统在这些年的滥用之后有多稳定?或者您可能只是不希望您的Windows在不重新安装的情况下运行超过六个月。不管是什么原因,以下是检查Windows安装日期的方法:
查找原始Windows安装日期时需要注意的事项
首先(First),您应该知道本指南适用于所有现代Windows版本,包括Windows 10、Windows 7 和Windows 11。其次,我们分享的所有方法都经过测试并确认适用于所有三个版本。
但是,根据您安装的Windows和安装方式,您可能会遇到以下几种情况:(Windows)
- 您进行了干净的 Windows 安装(clean Windows install )(从头开始)。在这种情况下,本教程中的所有方法都可以正常工作并提供良好的结果。
- 您已将旧版本的 Windows 升级到较新版本,例如安装 Windows 10 作为旧 Windows 7 的更新。(You’ve upgraded your old version of Windows to a newer one, like installing Windows 10 as an update to your old Windows 7.)在这种情况下,前四种方法会显示当前Windows版本的安装日期。例如,如果您将Windows 7升级到Windows 10 ,它们会显示 Windows (Windows 10)10(Windows 10)的安装日期,而不是Windows 7的安装日期。如果您想查找您拥有的第一个Windows的原始安装日期,以及您升级Windows的时间,请按照本教程的最后一种方法。
- 您使用的是 Windows 10 或Windows 11,它是您 PC 上唯一的操作系统。但是,自从您首次获得 PC 或首次安装 Windows 时,操作系统收到了一个或多个重大更新(since you first got your PC or when you first installed Windows, the operating system received one or more major updates)。例如,尽管您最初安装了Windows 10 Creators Update(版本 1703),但此后操作系统已收到许多更新,而现在,您正在运行Windows 10 May 2021 更新(Update)(版本 21H1)。在这种情况下,前四种方法会显示最新版本或主要更新的安装日期。如果您想知道如何找到原始安装日期(第一次安装Windows 10的时间)(Windows 10)),请查看本指南的最后一种方法。它还显示所有Windows 10升级的安装日期。
1. 如何在命令提示符(Command Prompt)或PowerShell中使用 systeminfo 命令查找Windows安装日期(Windows)
第一种方法涉及使用命令提示符(Command Prompt)或PowerShell。根据您的喜好,打开 CMD(Open CMD)或启动 PowerShell 。(start PowerShell)您不必以管理员权限打开它。键入以下命令,然后按键盘上的Enter :
systeminfo | find "Install Date"
要确定Windows安装日期,请使用 cmd 运行 systeminfo | 找到“安装(Install) 日期(Date)”
在一两秒钟内,您会看到显示的原始安装日期(Original Install Date)。
2. 如何从文件资源管理器(File Explorer)或Windows 资源管理器查看(Windows Explorer)Windows安装日期
如果您使用 Windows 10 或Windows 11,请打开文件资源管理器(open File Explorer)。如果您使用 Windows 7,请打开Windows Explorer。然后,导航到安装Windows的(Windows)C:驱动器,右键单击Windows文件夹,然后选择Properties。
找到Windows文件夹并打开其属性
在Windows 属性(Windows Properties)窗口中,在常规(General)选项卡中查找已创建(Created)字段。它显示在您的计算机或设备上创建Windows文件夹的时间。(Windows )此文件夹是在您安装Windows时创建的。
在Windows(Windows)属性(Properties)中找出安装Windows的时间(Windows)
您可以使用其他系统文件夹(如Program Files )执行相同的过程。
3. 如何在Windows 10的设置中查看操作系统安装日期
如果您使用的是 Windows 10,请打开“设置”应用(open the Settings app)。然后,转到System,然后选择About。在“设置”(Settings)窗口的右侧,查找“ Windows 规格(Windows specifications)”部分。在那里,您在下面突出显示的“安装于”(“Installed on”)字段中具有安装日期。
如何在“设置”中查看Windows 10安装日期
4. 如何使用PowerShell查找(PowerShell)Windows安装日期,使用 wmi 和注册表命令
在PowerShell中,您可以运行其他更复杂的命令来返回您想要的结果。打开 PowerShell(Open PowerShell),运行命令:
([WMI]'').ConvertToDateTime((Get-WmiObject Win32_OperatingSystem).InstallDate)
在PowerShell(PowerShell)中查看Windows安装日期
几秒钟后,您会看到可读格式的安装日期。
另一个命令(您可以在PowerShell中使用)读取存储安装日期的注册表项的值。命令如下:
[timezone]::CurrentTimeZone.ToLocalTime(([datetime]'1/1/1970').AddSeconds($(get-itemproperty 'HKLM:\Software\Microsoft\Windows NT\CurrentVersion').InstallDate))
从PowerShell(PowerShell)获取Windows安装日期
然后它以可读格式显示安装日期。唯一的问题是它是一个扩展命令。幸运的是,您可以从本教程中复制它并将其粘贴到您的PowerShell窗口中。
5. 原始安装日期是什么时候?如何查看 Windows 10 的安装时间?(和升级)
最后一种方法使用PowerShell从Windows 注册表(Windows Registry)中提取信息并将其转换为可读格式。这也是我们所知道的唯一可以告诉您Windows原始安装日期的方法。
如果您是从旧版本的Windows(Windows)升级(例如从Windows 7升级到Windows 10),或者您的Windows 10是否随着时间的推移收到一个或多个主要更新,可能很难确定原始Windows安装日期。(Windows)以下是它的工作原理:
打开PowerShell并运行以下两个命令(您可以复制/粘贴它们):
$OS=@(Get-ChildItem -Path HKLM:\System\Setup\Source* | ForEach-Object {Get-ItemProperty -Path Registry::$_}; Get-ItemProperty 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion')
$OS | Select-Object ProductName, ReleaseID, CurrentBuild, @{Name='InstallDate'; Expression={[timezone]::CurrentTimeZone.ToLocalTime(([datetime]'1/1/1970').AddSeconds($_.InstallDate))}} | Sort-Object "InstallDate"
按Enter并观看PowerShell显示已确定的Windows安装日期列表:
使用高级PowerShell(PowerShell)命令了解Windows的原始安装日期和后续升级
如您所见,在我们的测试Windows 10计算机上,我们最初于 2021 年8 月 4(August 4)日安装了Windows 7 Ultimate 。但是,在那之后,我们已经升级到Windows 10,并且之后还安装了另外两个主要更新。使用我们教程中以前的方法只会提供最新的Windows 10安装日期,版本 2009。这种方法会显示Windows 注册表中可用的所有(Windows Registry)Windows安装历史记录,这更好,你不觉得吗?
您知道其他检查Windows安装时间的方法吗?
可能还有其他方法可以获取Windows安装日期和时间。不过,他们可能还要求您转换他们提供的数据,以便您理解它。如果您知道其他可以为您提供Windows安装日期的方法,请在下面的评论中分享。我们承诺尽快更新本教程以帮助其他读者。
Find out when Windows was installed. What is its original install date?
Do you need or just want to know when Windows was installеd on yoυr computеr or device? Maybe you need this іnformation for your work? Is it because you want to brag about how stable your operating system is after all these years of abuѕe? Or perhaps you jυst don’t want your Windows to run for more than six months without reinstalling it. Whatever the reason, here’s how to cheсk the Windows installation date:
Things to be aware of when looking for the original Windows install date
First of all, you should know that this guide works for all modern Windows versions, including Windows 10, Windows 7, and Windows 11. Secondly, all the methods we share are tested and confirmed to work in all three versions.
However, there are a couple of situations in which you can find yourself, depending on what Windows you installed and how you installed it:
- You did a clean Windows install (from scratch). In this case, all the methods in this tutorial work and deliver good results.
- You’ve upgraded your old version of Windows to a newer one, like installing Windows 10 as an update to your old Windows 7. In this case, the first four methods show you the installation date of your current Windows version. For example, if you upgraded Windows 7 to Windows 10, they show you the installation date of Windows 10, not that of Windows 7. If you want to find the original installation date of the first Windows you had, as well as when you upgraded Windows, follow the last method of this tutorial.
- You use Windows 10 or Windows 11, and it is the only operating system you had on your PC. However, since you first got your PC or when you first installed Windows, the operating system received one or more major updates. For example, although you originally had Windows 10 Creators Update installed (version 1703), the operating system has received many updates since then, and right now, you’re running Windows 10 May 2021 Update (version 21H1). In this case, the first four methods show you the installation date of the last version or major update. If you want to know how to find the original install date (when you first installed Windows 10), check the last method of this guide. It also shows you the installation dates of all the Windows 10 upgrades.
1. How to find the Windows install date using the systeminfo command in Command Prompt or PowerShell
The first method involves using the Command Prompt or PowerShell. Open CMD or start PowerShell, depending on what you prefer. You do not have to open it with administrator rights. Type the following command and press Enter on your keyboard:
systeminfo | find "Install Date"
To fin the Windows installation date, use cmd to run systeminfo | find "Install Date"
In a second or two, you see the Original Install Date displayed.
2. How to check the Windows install date from File Explorer or Windows Explorer
If you use Windows 10 or Windows 11, open File Explorer. If you use Windows 7, open Windows Explorer. Then, navigate to the C: drive where Windows is installed, right-click the Windows folder, and choose Properties.
Locate the Windows folder and open its Properties
In the Windows Properties window, look for the Created field in the General tab. It shows when the Windows folder was created on your computer or device. This folder was created when you installed Windows.
Find out the when Windows was installed in the Windows Properties
You can follow the same procedure using other system folders like Program Files.
3. How to check the OS installation date in Windows 10’s Settings
If you are using Windows 10, open the Settings app. Then, go to System, and choose About. On the right side of the Settings window, look for the Windows specifications section. There, you have the installation date in the “Installed on” field highlighted below.
How to check the Windows 10 install date in Settings
4. How to find the Windows install date with PowerShell, using wmi and registry commands
In PowerShell, you can run other, more complex commands that return the result you want. Open PowerShell, run the command:
([WMI]'').ConvertToDateTime((Get-WmiObject Win32_OperatingSystem).InstallDate)
See the Windows installation date in PowerShell
After a few seconds, you see the installation date in a readable format.
Another command (that you can use in PowerShell) reads the value of a registry key that stores the installation date. The command is the following:
[timezone]::CurrentTimeZone.ToLocalTime(([datetime]'1/1/1970').AddSeconds($(get-itemproperty 'HKLM:\Software\Microsoft\Windows NT\CurrentVersion').InstallDate))
Get the Windows install date from PowerShell
It then displays the installation date in a readable format. The only issue is that it’s an extended command. Luckily, you can copy it from this tutorial and paste it into your PowerShell window.
5. What is the original install date? How do I find out when Windows 10 was installed? (& upgraded)
This last method uses PowerShell to extract information from the Windows Registry and convert it to a readable format. It’s also the only method we know that can tell you the original installation date of Windows.
The original Windows install date might be very difficult to find out if you’ve upgraded from an older version of Windows (like from Windows 7 to Windows 10), or if your Windows 10 has received one or more major updates as time passed by. Here’s how it works:
Open PowerShell and run the following two commands (you can copy/paste them):
$OS=@(Get-ChildItem -Path HKLM:\System\Setup\Source* | ForEach-Object {Get-ItemProperty -Path Registry::$_}; Get-ItemProperty 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion')
$OS | Select-Object ProductName, ReleaseID, CurrentBuild, @{Name='InstallDate'; Expression={[timezone]::CurrentTimeZone.ToLocalTime(([datetime]'1/1/1970').AddSeconds($_.InstallDate))}} | Sort-Object "InstallDate"
Press Enter and watch PowerShell show you the list of Windows installation dates identified:
Find out what is the original install date of Windows and following upgrades using advanced PowerShell commands
As you can see, on our test Windows 10 computer, we’ve had Windows 7 Ultimate originally installed on August 4, 2021. However, after that, we’ve upgraded to Windows 10 and also installed two other major updates afterward. Using the previous methods in our tutorial would only deliver the latest Windows 10 installation date, version 2009. This method shows you all the Windows installation history available in the Windows Registry, which is better, don’t you think?
Do you know other methods for checking when Windows was installed?
There might be other methods for getting the Windows installation date and time. Still, they might also require you to convert the data they give, so that you can understand it. If you know other methods that give you the Windows installation date, share them in a comment below. We promise to update this tutorial as soon as possible to help other readers.