在以前版本的Windows伺服器中,在使用GUI將activedirectory二進位制檔案新增到伺服器之後,可以使用DCPromo將伺服器升級到域控制器中。但是,DCPromo在server2012的發行版中被棄用。
您仍然可以透過GUI新增二進位制檔案,但即使是在使用PowerShell的引擎蓋下面。因此,我們將在PowerShell中保留整篇文章。要新增二進位制檔案,只需開啟PowerShell控制檯並執行以下操作:
Add-WindowsFeature -name ad-domain-services –IncludeManagementTools –Restart
安裝完成後,計算機將重新啟動。我們現在準備在新林中安裝新的域控制器,因此請開啟新的PowerShell控制檯。有三個PowerShell命令可用於將伺服器升級到DC:
因為我們還沒有林,所以需要使用Install-ADDSForest cmdlet。
Install-ADDSForest –DomainName “corp.tl80.cn”
然後,系統將提示您輸入還原模式密碼,並要求您確認伺服器重新啟動是否正常。
現在你可以一邊去喝杯咖啡,一邊安裝新的域控制器。
一旦你的伺服器備份了,你就可以開始了。
夥計們,就這些。使用PowerShell比以往任何時候都簡單!
微軟定期為不同版本的Windows釋出免費的產品金鑰。也被稱為通用產品金鑰或預設金鑰,它們的用途或使用它們的原因尚不清楚。 ...
Microsoft是否要從Windows 10中刪除控制面板?這就是一些網站如何旋轉最近的新聞。但事實並非如此。這裡是什麼正在消失,什麼是真正發生了什麼與控制面板。 告別系統螢幕(可能) 在新的Windows10測試版本中,微軟已經從控制...
...tstrap”一詞。下面是在後臺發生的事情,無論你使用的是Windows PC、Mac還是Linux系統。 硬體開機 當您按下電源按鈕時,計算機會為其元件提供電源—主機板、CPU、硬碟、固態驅動器、圖形處理器以及計算機中的所有其他元件。 ...
C:\Windows\System32目錄是儲存重要系統檔案的Windows作業系統的關鍵部分。網上有些惡作劇者可能會告訴你刪除它,但你不應該這樣做,如果你嘗試的話,我們會告訴你到底發生了什麼。 什麼是system32資料夾(the system32 folder)? 位...
...問答網站分組。 問題 超級使用者閱讀器RACING121想知道Windows計算機關閉時實際發生的情況: When I click the shutdown button on my Windows system, it gives me another screen saying Shutting down: What is actually going on during this stage? If I recall correctly, in W...
...any number of reas***. 2. The mail client successfully sent it to the SMTP server, but the SMTP server has not been able to forward it on to the next hop. The SMTP server might be so busy that it has a backlog of messages to process, there might be a delay of several hours. The SMTP server might ha...
... 8的企業升級到更現代、更安全的瀏覽器。 此功能將作為Windows 8.1 Update 1的一部分出現在Internet Explorer 11中,也將作為Windows 7、Windows RT、Windows Server 2008 R2 SP1和Windows Server 2012 R2上的IE 11的更新提供。 工作原理 Internet Explorer的企...
...,而從表面上看,它們似乎是相同的: Using cmd and ping on Windows gave me the following results: Pinging “localhost”: Pinging “192.168.0.10” (local IP address): Aren’t both situati*** exactly the same? I mean, I’m pinging the same interface, the same machine and the sam...
當伺服器核心最初發布時,很多Windows管理員都避免使用它,因為您只能使用命令列,但隨著啟用混合模式的windowsserver2012,情況發生了變化。 關閉gui 在windowsserver8中,GUI保持了最新Windows伺服器作業系統的模組化特性,並且反...