locked
Schema MMC and Windows 2008 R2 RRS feed

  • Question

  • How can I register the schema mmc in Windows 2008 R2? The regsvr32 schmmgmt.dll obiously does not work any more.

    Thanks,
    Gunter

    Tuesday, March 9, 2010 12:16 PM

Answers

  • Others have pointed to the correct way to do it so I won't bother with that again.

    The odds are you are attempting to do this and the User Access Control (UAC) is not allowing you to register this since it has your account as a standard user.

    Find your command prompt and right click on it and select run as administrator.  Once you have the elevated command prompt try to register the dll again and I bet things work for you.


    --
    Paul Bergson
    MVP - Directory Services
    MCITP: Enterprise Administrator
    MCTS, MCT, MCSE, MCSA, Security+, BS CSci
    2008, Vista, 2003, 2000 (Early Achiever), NT4
    Microsoft's Thrive IT Pro of the Month - June 2009
    http://www.pbbergs.com

    Please no e-mails, any questions should be posted in the NewsGroup This
    posting is provided "AS IS" with no warranties, and confers no rights.

    • Marked as answer by Gunter D Wednesday, March 10, 2010 7:59 PM
    Wednesday, March 10, 2010 1:39 PM
    • Marked as answer by Gunter D Wednesday, March 10, 2010 7:59 PM
    Tuesday, March 9, 2010 12:21 PM

All replies

    • Marked as answer by Gunter D Wednesday, March 10, 2010 7:59 PM
    Tuesday, March 9, 2010 12:21 PM
  • Hello,

    which error message do you get when running it? It should work.
    Best regards Meinolf Weber Disclaimer: This posting is provided "AS IS" with no warranties, and confers no rights.
    Tuesday, March 9, 2010 1:05 PM
  • How can I register the schema mmc in Windows 2008 R2? The regsvr32 schmmgmt.dll obiously does not work any more.

    Thanks,
    Gunter


    Ilustrated version at:
    http://srvcore.wordpress.com/2010/01/02/how-to-create-an-active-directory-schema-snap-in/

    I hope that the information above helps you. This posting is provided "AS-IS" with no warranties or guarantees and confers no rights.
    Tuesday, March 9, 2010 2:52 PM
  • Hi Gunter,

     

    You may follow the instruction which Marcin has stated to register the schema in the MMC.

    In addition, please confirm the following items:
    1. Ensure you register the schema mmc on the Schema master in your domain.
    2. Logged on as a member of Domain Admins or equivalent to perform the operation.
    3. Open Command window in elevated mode.


    If the issue persists, please let us know the following information for further investigation.

     

    1.     What the exact error message you got when you failed to register the schema.?

    2.     Is the server a DC? Which FSMO role it holds?

     

    Sincerely,

    Wilson Jia


    This posting is provided "AS IS" with no warranties, and confers no rights.
    Wednesday, March 10, 2010 2:26 AM
  • Log on the schema master with schema admin login.
    (We can do the below process from any workstation or server before register the .dll please run >netdom query fsmo.
    You will come to know all FSMO are working fine or not.

    run regsvr32 schmmgmt.dll
    run mmc and add the schema console.
    Thanks Biswajit
    • Proposed as answer by bshwjt Wednesday, March 10, 2010 1:19 PM
    Wednesday, March 10, 2010 1:18 PM
  • Others have pointed to the correct way to do it so I won't bother with that again.

    The odds are you are attempting to do this and the User Access Control (UAC) is not allowing you to register this since it has your account as a standard user.

    Find your command prompt and right click on it and select run as administrator.  Once you have the elevated command prompt try to register the dll again and I bet things work for you.


    --
    Paul Bergson
    MVP - Directory Services
    MCITP: Enterprise Administrator
    MCTS, MCT, MCSE, MCSA, Security+, BS CSci
    2008, Vista, 2003, 2000 (Early Achiever), NT4
    Microsoft's Thrive IT Pro of the Month - June 2009
    http://www.pbbergs.com

    Please no e-mails, any questions should be posted in the NewsGroup This
    posting is provided "AS IS" with no warranties, and confers no rights.

    • Marked as answer by Gunter D Wednesday, March 10, 2010 7:59 PM
    Wednesday, March 10, 2010 1:39 PM
  • Hi Meinolf,

    it had this error at the customer site yesterday, however it works on another R2 test system without any problem. There must have been something elso wrong.

    sorry...

    thanks,
    Gunter
    Wednesday, March 10, 2010 7:58 PM
  • Hi Wilson

    I just tried to register schmmgmt.dll and got following error:

    The module "schmmgmt.dll" was loaded but the call to DllRegisterServer failed with error code 0x80040201. For more information about this problem, search online using the error code as a search team.

    Have you seen this before.

    Cheers,

    Gunter

    Friday, March 19, 2010 7:10 PM
  • On a Windows Server 2008 machine this activity requires elevated privileges, so you need to run the command as Administrator.
    http://www.virmansec.com/blogs/skhairuddin
    Friday, March 19, 2010 9:35 PM
  • previously i was using another domain account which was already a part of "domain admins" group

    i was facing same issue.

    when i log in with built in  "Administrator". it works..

    i added my domain account to built in "administrators" group and tried to register schema  but its fail again.

    --

    Saswati

    Thursday, April 8, 2010 9:26 PM