Sconfig not found - Server Core 2012 R2












1














I'm trying to run sconfig, but I get the error:



CScript Error: Execution of the Windows Script Host failed. (The system cannot find the file specified.)



ERROR: The system was unable to find the specified registry key or value.



Running Server Core 2012 R2 on a Dell pc



Thanks for the help in advance










share|improve this question






















  • Were you on the system drive when you ran it?
    – Ƭᴇcʜιᴇ007
    Feb 25 '14 at 20:31










  • Yes, I was on the system drive.
    – ampost
    Feb 25 '14 at 22:13










  • Anyone have an idea?
    – ampost
    Apr 3 '14 at 17:44
















1














I'm trying to run sconfig, but I get the error:



CScript Error: Execution of the Windows Script Host failed. (The system cannot find the file specified.)



ERROR: The system was unable to find the specified registry key or value.



Running Server Core 2012 R2 on a Dell pc



Thanks for the help in advance










share|improve this question






















  • Were you on the system drive when you ran it?
    – Ƭᴇcʜιᴇ007
    Feb 25 '14 at 20:31










  • Yes, I was on the system drive.
    – ampost
    Feb 25 '14 at 22:13










  • Anyone have an idea?
    – ampost
    Apr 3 '14 at 17:44














1












1








1







I'm trying to run sconfig, but I get the error:



CScript Error: Execution of the Windows Script Host failed. (The system cannot find the file specified.)



ERROR: The system was unable to find the specified registry key or value.



Running Server Core 2012 R2 on a Dell pc



Thanks for the help in advance










share|improve this question













I'm trying to run sconfig, but I get the error:



CScript Error: Execution of the Windows Script Host failed. (The system cannot find the file specified.)



ERROR: The system was unable to find the specified registry key or value.



Running Server Core 2012 R2 on a Dell pc



Thanks for the help in advance







windows-server-2012-r2






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Feb 25 '14 at 19:40









ampost

612




612












  • Were you on the system drive when you ran it?
    – Ƭᴇcʜιᴇ007
    Feb 25 '14 at 20:31










  • Yes, I was on the system drive.
    – ampost
    Feb 25 '14 at 22:13










  • Anyone have an idea?
    – ampost
    Apr 3 '14 at 17:44


















  • Were you on the system drive when you ran it?
    – Ƭᴇcʜιᴇ007
    Feb 25 '14 at 20:31










  • Yes, I was on the system drive.
    – ampost
    Feb 25 '14 at 22:13










  • Anyone have an idea?
    – ampost
    Apr 3 '14 at 17:44
















Were you on the system drive when you ran it?
– Ƭᴇcʜιᴇ007
Feb 25 '14 at 20:31




Were you on the system drive when you ran it?
– Ƭᴇcʜιᴇ007
Feb 25 '14 at 20:31












Yes, I was on the system drive.
– ampost
Feb 25 '14 at 22:13




Yes, I was on the system drive.
– ampost
Feb 25 '14 at 22:13












Anyone have an idea?
– ampost
Apr 3 '14 at 17:44




Anyone have an idea?
– ampost
Apr 3 '14 at 17:44










3 Answers
3






active

oldest

votes


















0














I just had the same. Did you by chance install in a different language than en-US?



I have to open it from c:windowssystem32de-DE.






share|improve this answer































    0














    This seems to be a recurrent problem with other languages installs. E.g. I have the spanish version, same error cannot find sconfig.vbs but it searches in this path: windowssystem32en-US



    Trick:
    Go to your language path, e.g. windowssystem32es-ES and copy the sconfig.vbs to the en-US



    sconfig should run now from powershell



    Comment:
    This is why I hate installing in other languages, and I can't believe MS is so lazy. An older problem was trying to copy AD from Windows Server 2003 English to another 2003 but Spanish -> it never worked. But from Eng to Eng it was perfect.






    share|improve this answer





























      0














      Rebuilding the WMI Repository



      For Windows Vista, Windows 7, Windows Server 2008, and Windows Server 2008 R2, you can run



      winmgmt /verifyrepository
      from a command prompt.



      For Older OS like Windows XP and Windows Server 2003 run: WmiDiag tool with the checkconsistency option. For example: WmiDiag checkconsistency



      If repository is found to be inconsistent:



      a. For Vista and newer, run from elevated command prompt:


      Winmgmt /salvagerepository



      Note this command will take the content of the inconsistent repository and merge it into the rebuilt repository if it is readable



      If the above doesn’t work, then run:



      Winmgmt /resetrepository



      Note this will reset repository to the initial state when the OS was first installed






      share|improve this answer





















        Your Answer








        StackExchange.ready(function() {
        var channelOptions = {
        tags: "".split(" "),
        id: "3"
        };
        initTagRenderer("".split(" "), "".split(" "), channelOptions);

        StackExchange.using("externalEditor", function() {
        // Have to fire editor after snippets, if snippets enabled
        if (StackExchange.settings.snippets.snippetsEnabled) {
        StackExchange.using("snippets", function() {
        createEditor();
        });
        }
        else {
        createEditor();
        }
        });

        function createEditor() {
        StackExchange.prepareEditor({
        heartbeatType: 'answer',
        autoActivateHeartbeat: false,
        convertImagesToLinks: true,
        noModals: true,
        showLowRepImageUploadWarning: true,
        reputationToPostImages: 10,
        bindNavPrevention: true,
        postfix: "",
        imageUploader: {
        brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
        contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
        allowUrls: true
        },
        onDemand: true,
        discardSelector: ".discard-answer"
        ,immediatelyShowMarkdownHelp:true
        });


        }
        });














        draft saved

        draft discarded


















        StackExchange.ready(
        function () {
        StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f721587%2fsconfig-not-found-server-core-2012-r2%23new-answer', 'question_page');
        }
        );

        Post as a guest















        Required, but never shown

























        3 Answers
        3






        active

        oldest

        votes








        3 Answers
        3






        active

        oldest

        votes









        active

        oldest

        votes






        active

        oldest

        votes









        0














        I just had the same. Did you by chance install in a different language than en-US?



        I have to open it from c:windowssystem32de-DE.






        share|improve this answer




























          0














          I just had the same. Did you by chance install in a different language than en-US?



          I have to open it from c:windowssystem32de-DE.






          share|improve this answer


























            0












            0








            0






            I just had the same. Did you by chance install in a different language than en-US?



            I have to open it from c:windowssystem32de-DE.






            share|improve this answer














            I just had the same. Did you by chance install in a different language than en-US?



            I have to open it from c:windowssystem32de-DE.







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited May 8 '14 at 16:46









            Excellll

            11k74162




            11k74162










            answered May 8 '14 at 16:10









            fr43nk

            1




            1

























                0














                This seems to be a recurrent problem with other languages installs. E.g. I have the spanish version, same error cannot find sconfig.vbs but it searches in this path: windowssystem32en-US



                Trick:
                Go to your language path, e.g. windowssystem32es-ES and copy the sconfig.vbs to the en-US



                sconfig should run now from powershell



                Comment:
                This is why I hate installing in other languages, and I can't believe MS is so lazy. An older problem was trying to copy AD from Windows Server 2003 English to another 2003 but Spanish -> it never worked. But from Eng to Eng it was perfect.






                share|improve this answer


























                  0














                  This seems to be a recurrent problem with other languages installs. E.g. I have the spanish version, same error cannot find sconfig.vbs but it searches in this path: windowssystem32en-US



                  Trick:
                  Go to your language path, e.g. windowssystem32es-ES and copy the sconfig.vbs to the en-US



                  sconfig should run now from powershell



                  Comment:
                  This is why I hate installing in other languages, and I can't believe MS is so lazy. An older problem was trying to copy AD from Windows Server 2003 English to another 2003 but Spanish -> it never worked. But from Eng to Eng it was perfect.






                  share|improve this answer
























                    0












                    0








                    0






                    This seems to be a recurrent problem with other languages installs. E.g. I have the spanish version, same error cannot find sconfig.vbs but it searches in this path: windowssystem32en-US



                    Trick:
                    Go to your language path, e.g. windowssystem32es-ES and copy the sconfig.vbs to the en-US



                    sconfig should run now from powershell



                    Comment:
                    This is why I hate installing in other languages, and I can't believe MS is so lazy. An older problem was trying to copy AD from Windows Server 2003 English to another 2003 but Spanish -> it never worked. But from Eng to Eng it was perfect.






                    share|improve this answer












                    This seems to be a recurrent problem with other languages installs. E.g. I have the spanish version, same error cannot find sconfig.vbs but it searches in this path: windowssystem32en-US



                    Trick:
                    Go to your language path, e.g. windowssystem32es-ES and copy the sconfig.vbs to the en-US



                    sconfig should run now from powershell



                    Comment:
                    This is why I hate installing in other languages, and I can't believe MS is so lazy. An older problem was trying to copy AD from Windows Server 2003 English to another 2003 but Spanish -> it never worked. But from Eng to Eng it was perfect.







                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered Jul 28 '15 at 2:46









                    Miguel Ramirez

                    12




                    12























                        0














                        Rebuilding the WMI Repository



                        For Windows Vista, Windows 7, Windows Server 2008, and Windows Server 2008 R2, you can run



                        winmgmt /verifyrepository
                        from a command prompt.



                        For Older OS like Windows XP and Windows Server 2003 run: WmiDiag tool with the checkconsistency option. For example: WmiDiag checkconsistency



                        If repository is found to be inconsistent:



                        a. For Vista and newer, run from elevated command prompt:


                        Winmgmt /salvagerepository



                        Note this command will take the content of the inconsistent repository and merge it into the rebuilt repository if it is readable



                        If the above doesn’t work, then run:



                        Winmgmt /resetrepository



                        Note this will reset repository to the initial state when the OS was first installed






                        share|improve this answer


























                          0














                          Rebuilding the WMI Repository



                          For Windows Vista, Windows 7, Windows Server 2008, and Windows Server 2008 R2, you can run



                          winmgmt /verifyrepository
                          from a command prompt.



                          For Older OS like Windows XP and Windows Server 2003 run: WmiDiag tool with the checkconsistency option. For example: WmiDiag checkconsistency



                          If repository is found to be inconsistent:



                          a. For Vista and newer, run from elevated command prompt:


                          Winmgmt /salvagerepository



                          Note this command will take the content of the inconsistent repository and merge it into the rebuilt repository if it is readable



                          If the above doesn’t work, then run:



                          Winmgmt /resetrepository



                          Note this will reset repository to the initial state when the OS was first installed






                          share|improve this answer
























                            0












                            0








                            0






                            Rebuilding the WMI Repository



                            For Windows Vista, Windows 7, Windows Server 2008, and Windows Server 2008 R2, you can run



                            winmgmt /verifyrepository
                            from a command prompt.



                            For Older OS like Windows XP and Windows Server 2003 run: WmiDiag tool with the checkconsistency option. For example: WmiDiag checkconsistency



                            If repository is found to be inconsistent:



                            a. For Vista and newer, run from elevated command prompt:


                            Winmgmt /salvagerepository



                            Note this command will take the content of the inconsistent repository and merge it into the rebuilt repository if it is readable



                            If the above doesn’t work, then run:



                            Winmgmt /resetrepository



                            Note this will reset repository to the initial state when the OS was first installed






                            share|improve this answer












                            Rebuilding the WMI Repository



                            For Windows Vista, Windows 7, Windows Server 2008, and Windows Server 2008 R2, you can run



                            winmgmt /verifyrepository
                            from a command prompt.



                            For Older OS like Windows XP and Windows Server 2003 run: WmiDiag tool with the checkconsistency option. For example: WmiDiag checkconsistency



                            If repository is found to be inconsistent:



                            a. For Vista and newer, run from elevated command prompt:


                            Winmgmt /salvagerepository



                            Note this command will take the content of the inconsistent repository and merge it into the rebuilt repository if it is readable



                            If the above doesn’t work, then run:



                            Winmgmt /resetrepository



                            Note this will reset repository to the initial state when the OS was first installed







                            share|improve this answer












                            share|improve this answer



                            share|improve this answer










                            answered Jul 19 '17 at 11:42









                            Oleksandr

                            1




                            1






























                                draft saved

                                draft discarded




















































                                Thanks for contributing an answer to Super User!


                                • Please be sure to answer the question. Provide details and share your research!

                                But avoid



                                • Asking for help, clarification, or responding to other answers.

                                • Making statements based on opinion; back them up with references or personal experience.


                                To learn more, see our tips on writing great answers.





                                Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                                Please pay close attention to the following guidance:


                                • Please be sure to answer the question. Provide details and share your research!

                                But avoid



                                • Asking for help, clarification, or responding to other answers.

                                • Making statements based on opinion; back them up with references or personal experience.


                                To learn more, see our tips on writing great answers.




                                draft saved


                                draft discarded














                                StackExchange.ready(
                                function () {
                                StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f721587%2fsconfig-not-found-server-core-2012-r2%23new-answer', 'question_page');
                                }
                                );

                                Post as a guest















                                Required, but never shown





















































                                Required, but never shown














                                Required, but never shown












                                Required, but never shown







                                Required, but never shown

































                                Required, but never shown














                                Required, but never shown












                                Required, but never shown







                                Required, but never shown







                                Popular posts from this blog

                                "Incorrect syntax near the keyword 'ON'. (on update cascade, on delete cascade,)

                                Alcedinidae

                                RAC Tourist Trophy