Search
Search titles only
By:
Search titles only
By:
Log in
Register
Search
Search titles only
By:
Search titles only
By:
Menu
Install the app
Install
Forums
New posts
All threads
Latest threads
New posts
Trending threads
Trending
Search forums
What's new
New posts
New ads
New profile posts
Latest activity
Free Ads
Latest reviews
Search ads
Members
Current visitors
New profile posts
Search profile posts
Contact us
Latest ads
Power Lifting Lever Belt
SkullVamp
Updated:
Yesterday at 10:32 PM
Ad icon
port.lk Domain for sale
Lankan-Tech
Updated:
Yesterday at 3:55 PM
Colombo
Kaduwela - Two Storey House for Sale
dilrasan
Updated:
Thursday at 2:23 PM
Ad icon
Wechat qr verification
Pawan2005
Updated:
Thursday at 1:28 AM
🚀 GOOGLE AI PRO 18 MONTHS ACTIVATION 🚀
sayuru bandara
Updated:
Wednesday at 5:34 PM
Electronics
Vehicles
Property
Search
Reply to thread
Forums
General
Education
Help windows 2008 server core
Get the App
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Message
<blockquote data-quote="Enigma_1" data-source="post: 7870369" data-attributes="member: 78173"><p>machan this works for me. try this out</p><p></p><p>[CODE]</p><p>[B] [U]CONFIGURING ROLES[/U][/B]</p><p> There are two commands to use when dealing with server roles: [B]oclist[/B] and [B]ocsetup[/B]. Later, we will look at the new [B]dism.exe[/B] If you type oclist, you will get a list of all the roles and their optional components. The list is pretty lengthy, so I like to use the [B]find[/B] command to narrow my results. For example, if we wanted to add the DHCP server role, I would check for the precise name of the role by typing:</p><p> oclist | find /i "dhcp"</p><p> Results:</p><p> Not Installed: DHCPServerCore</p><p> Now I know the role name is specifically DHCPServerCore and that it is in fact not installed. So, we install the role by typing:</p><p> ocsetup DHCPServerCore</p><p> Note that the above server role IS case sensitive. If I use oclist again to check for DHCP, I now see the following:</p><p> oclist | find /i "dhcp"</p><p> Results:</p><p> Installed: DHCPServerCore</p><p> If I wanted to remove the role, I’d use the uninstall switch with ocsetup:</p><p> ocsetup DHCPServerCore /uninstall</p><p> Pretty straight forward. Now, with R2, there is a new CLI tool called [B]dism.exe[/B]. This tool can also configure server roles, but it does much more. For now, we will use it to configure roles like we did with ocsetup/oclist.</p><p> To get a list of roles (called features in dism):</p><p> dism /online /get-features</p><p> Let’s add that DHCPServerCore feature using dism:</p><p> dism /online /enable-feature /featurename:DHCPServerCore</p><p> And then to remove it:</p><p> dism /online /disable-feature /featurename:DHCPServerCore</p><p> So, what is the big deal? Same results as ocsetup, but, dism will replace it because it goes further than just toggling features. It will service WIM and VHD image files, allowing add/remove of drivers and features, especially useful if your server has the role of deploying images or runs Hyper-V.</p><p></p><p>[/CODE]source : <a href="http://praetorianprefect.com/archives/2009/09/2008-server-to-the-core/" target="_blank">http://praetorianprefect.com/archives/2009/09/2008-server-to-the-core/</a></p><p></p><p></p><p>hope this will help u</p></blockquote><p></p>
[QUOTE="Enigma_1, post: 7870369, member: 78173"] machan this works for me. try this out [CODE] [B] [U]CONFIGURING ROLES[/U][/B] There are two commands to use when dealing with server roles: [B]oclist[/B] and [B]ocsetup[/B]. Later, we will look at the new [B]dism.exe[/B] If you type oclist, you will get a list of all the roles and their optional components. The list is pretty lengthy, so I like to use the [B]find[/B] command to narrow my results. For example, if we wanted to add the DHCP server role, I would check for the precise name of the role by typing: oclist | find /i "dhcp" Results: Not Installed: DHCPServerCore Now I know the role name is specifically DHCPServerCore and that it is in fact not installed. So, we install the role by typing: ocsetup DHCPServerCore Note that the above server role IS case sensitive. If I use oclist again to check for DHCP, I now see the following: oclist | find /i "dhcp" Results: Installed: DHCPServerCore If I wanted to remove the role, I’d use the uninstall switch with ocsetup: ocsetup DHCPServerCore /uninstall Pretty straight forward. Now, with R2, there is a new CLI tool called [B]dism.exe[/B]. This tool can also configure server roles, but it does much more. For now, we will use it to configure roles like we did with ocsetup/oclist. To get a list of roles (called features in dism): dism /online /get-features Let’s add that DHCPServerCore feature using dism: dism /online /enable-feature /featurename:DHCPServerCore And then to remove it: dism /online /disable-feature /featurename:DHCPServerCore So, what is the big deal? Same results as ocsetup, but, dism will replace it because it goes further than just toggling features. It will service WIM and VHD image files, allowing add/remove of drivers and features, especially useful if your server has the role of deploying images or runs Hyper-V. [/CODE]source : [URL]http://praetorianprefect.com/archives/2009/09/2008-server-to-the-core/[/URL] hope this will help u [/QUOTE]
Insert quotes…
Verification
Dawasata paya keeyak thibeda?
Post reply
Top
Bottom