使用Sconfig.cmd 配置ServerCore

來源:互聯網
上載者:User

標籤:sconfig servercore

在ServerCore中,可用的管理工具有如下:

Cmd.exe、PowerShell.exe、Sconfig.cmd、Notepad.exe、Regedt32.exe、Msinfo32.exe、Taskmgr.exe、SCregEdit.wsf

在 Windows Server 2012 R2中,你可以使用伺服器組態工具 (Sconfig.cmd) 配置和管理伺服器核心安裝的幾個常見方面。

必須是Administrator 群組的成員才能使用此工具。

Sconfig.cmd 在最小伺服器介面和“完整安裝”模式中可用。

開啟伺服器組態工具:

在cmd下鍵入sconfig.cmd。伺服器組態工具介面開啟,

650) this.width=650;" title="1.jpg" alt="wKiom1Or4XXz9_O2AAI0Tr9thLg067.jpg" src="http://s3.51cto.com/wyfs02/M01/36/F8/wKiom1Or4XXz9_O2AAI0Tr9thLg067.jpg" />

這方法比早期08 or 08R2下,使用如下方法要簡單,在cmd下:

電腦名稱:hostname

更改電腦名稱:netdom renamecomputer (oldcomputername) /newname:(newcomputername)

650) this.width=650;" title="2.jpg" src="http://s3.51cto.com/wyfs02/M00/37/21/wKioL1OsKL2QnHyYAADG-D-JXnw484.jpg" alt="wKioL1OsKL2QnHyYAADG-D-JXnw484.jpg" />

修改IP:netsh interface ipv4 show interface

netsh interface ipv4 set address name="idx" source=static address=IP mask=掩碼 gateway=網關

添加DNS:netsh interface ipv4 add dnsserver name="idx address=ip index=1

650) this.width=650;" title="3.jpg" src="http://s3.51cto.com/wyfs02/M00/37/22/wKiom1OsK7zA9FdkAAF3oSfmWe0794.jpg" alt="wKiom1OsK7zA9FdkAAF3oSfmWe0794.jpg" />

修改防火牆,關機/重啟等。

650) this.width=650;" title="4.jpg" src="http://s3.51cto.com/wyfs02/M02/37/22/wKiom1OsLBryWjWCAAEGy_nqJs8927.jpg" alt="wKiom1OsLBryWjWCAAEGy_nqJs8927.jpg" />

還可以測試下ServerCore安裝ADDS用為DC,使用以下使用:dcpromo /unattend:自應答檔案。

從上看出,Sconfig.cmd工具還是挺實用的。

本文出自 “1+1=?” 部落格,轉載請與作者聯絡!

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.