Help windows 2008 server core

sgmdarshana

Junior member
  • Jan 6, 2007
    195
    12
    18
    Colombo
    im try to config dhcp using this command "start /w ocsetup dhcpservercore"

    Then i got the below error massage
    " The specified windows component could not be found: dhcpservercore "

    pls help me

    more details
    I have PDC (windows 2008 server 64)
    :(:(:(:(:(:(:(:(:(
     

    Enigma_1

    Junior member
  • Feb 5, 2008
    70
    3
    8
    Colombo
    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.
    source : http://praetorianprefect.com/archives/2009/09/2008-server-to-the-core/


    hope this will help u
     

    sgmdarshana

    Junior member
  • Jan 6, 2007
    195
    12
    18
    Colombo
    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.
    source : http://praetorianprefect.com/archives/2009/09/2008-server-to-the-core/


    hope this will help u

    You did it. thaks a lot for ur help. problem solved