Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Help on making this batch file!!!  (Read 7566 times)

0 Members and 1 Guest are viewing this topic.

maplealvon

    Topic Starter


    Rookie

    Help on making this batch file!!!
    « on: February 21, 2009, 06:18:47 AM »
    How do you make a batch file for vista home premium that makes other users into admins too? Dont worry about the priviledge of the executer coz my retarded comp turns all my other accs into limited everynow and then. Im using the default admin. I dont wanna reformat my pc coz i cbf doing it. I dont wanna system restore coz that does NOT work.

    Thnx,
    Alvon
    Some people get pissed off by me, the others get pissed on.

    Carbon Dudeoxide

    • Global Moderator

    • Mastermind
    • Thanked: 169
      • Yes
      • Yes
      • Yes
    • Certifications: List
    • Experience: Guru
    • OS: Mac OS
    Re: Help on making this batch file!!!
    « Reply #1 on: February 21, 2009, 06:28:53 AM »
    We cannot help you make a Batch File to make another user an administrator.

    Try a System Restore in Safe Mode

    maplealvon

      Topic Starter


      Rookie

      Re: Help on making this batch file!!!
      « Reply #2 on: February 21, 2009, 09:37:31 PM »
      hmm then how do i change the accounts from limited to admin using the command prompt?
      Some people get pissed off by me, the others get pissed on.

      BC_Programmer


        Mastermind
      • Typing is no substitute for thinking.
      • Thanked: 1140
        • Yes
        • Yes
        • BC-Programming.com
      • Certifications: List
      • Computer: Specs
      • Experience: Beginner
      • OS: Windows 11
      Re: Help on making this batch file!!!
      « Reply #3 on: February 21, 2009, 09:48:28 PM »
      you can't. It would defeat the purpose of a "LIMITED" account. Unless you're doing it from another administrator account, in which case you can just use the provided GUI features.
      I was trying to dereference Null Pointers before it was cool.

      maplealvon

        Topic Starter


        Rookie

        Re: Help on making this batch file!!!
        « Reply #4 on: February 21, 2009, 09:50:33 PM »
        im an admin but yeah, my control panel's stuffed (idk why). It just lags and closes if i try to open it.
        Some people get pissed off by me, the others get pissed on.

        BC_Programmer


          Mastermind
        • Typing is no substitute for thinking.
        • Thanked: 1140
          • Yes
          • Yes
          • BC-Programming.com
        • Certifications: List
        • Computer: Specs
        • Experience: Beginner
        • OS: Windows 11
        Re: Help on making this batch file!!!
        « Reply #5 on: February 21, 2009, 09:53:54 PM »
        http://articles.techrepublic.com.com/5100-10878_11-5031577.html

        will only work if you have the rights to modify other user accounts.

        another option would be to run the command:

        nusrmgr.cpl

        which should open the User accounts control panel option.
        I was trying to dereference Null Pointers before it was cool.

        BatchRocks



          Hopeful
        • Thanked: 3
          Re: Help on making this batch file!!!
          « Reply #6 on: February 21, 2009, 09:59:50 PM »
          Can't you do Netuser?

          maplealvon

            Topic Starter


            Rookie

            Re: Help on making this batch file!!!
            « Reply #7 on: February 21, 2009, 10:00:26 PM »
            I dont understand it. Can anyone give me a step by step guide of changing an account from admin to limited using the command prompt? Pictures would be helpful.

            This is where im stuck:


            [attachment deleted by admin]
            Some people get pissed off by me, the others get pissed on.

            BC_Programmer


              Mastermind
            • Typing is no substitute for thinking.
            • Thanked: 1140
              • Yes
              • Yes
              • BC-Programming.com
            • Certifications: List
            • Computer: Specs
            • Experience: Beginner
            • OS: Windows 11
            Re: Help on making this batch file!!!
            « Reply #8 on: February 21, 2009, 10:08:28 PM »
            another option would be to run the command:

            nusrmgr.cpl

            which should open the User accounts control panel option.

            I was trying to dereference Null Pointers before it was cool.

            maplealvon

              Topic Starter


              Rookie

              Re: Help on making this batch file!!!
              « Reply #9 on: February 21, 2009, 10:12:06 PM »
              i did say that my control panel doesnt work.
              im trying net user *(username)
              but how do i change it from there?
              Some people get pissed off by me, the others get pissed on.

              BC_Programmer


                Mastermind
              • Typing is no substitute for thinking.
              • Thanked: 1140
                • Yes
                • Yes
                • BC-Programming.com
              • Certifications: List
              • Computer: Specs
              • Experience: Beginner
              • OS: Windows 11
              Re: Help on making this batch file!!!
              « Reply #10 on: February 21, 2009, 10:23:17 PM »
              that isn't control panel.

              I was trying to dereference Null Pointers before it was cool.

              maplealvon

                Topic Starter


                Rookie

                Re: Help on making this batch file!!!
                « Reply #11 on: February 21, 2009, 10:25:28 PM »
                nusrmgr.cpl is something i dont have on my pc coz mine's vista home premium. im missing a lot of stuff lols,
                 all my old xp .msc(s) are gone too. it's sad.
                Some people get pissed off by me, the others get pissed on.

                BC_Programmer


                  Mastermind
                • Typing is no substitute for thinking.
                • Thanked: 1140
                  • Yes
                  • Yes
                  • BC-Programming.com
                • Certifications: List
                • Computer: Specs
                • Experience: Beginner
                • OS: Windows 11
                Re: Help on making this batch file!!!
                « Reply #12 on: February 21, 2009, 10:30:46 PM »
                Code: [Select]
                RunDll32.exe shell32.dll,Control_RunDLL nusrmgr.cpl

                worked on my vista machine.

                If you cannot system restore and your missing these control panel items making a batch file to workaround your inability to use control panel will get old quickly. Will your next thread be "batch file to change resolution"?

                why not run

                Code: [Select]
                SFC /SCANNOW

                which might fix your control panel.
                I was trying to dereference Null Pointers before it was cool.

                Carbon Dudeoxide

                • Global Moderator

                • Mastermind
                • Thanked: 169
                  • Yes
                  • Yes
                  • Yes
                • Certifications: List
                • Experience: Guru
                • OS: Mac OS
                Re: Help on making this batch file!!!
                « Reply #13 on: February 22, 2009, 02:48:17 AM »
                We can not and will not help make you Administrator from a User Account. Period.

                Why you may ask?

                First, we don't know what the problem really is. For all we know, you could be some kid trying to gain access to the school computers.

                Second of all, if we post the results here in this public forum, anyone can see it, including these kids.

                maplealvon

                  Topic Starter


                  Rookie

                  Re: Help on making this batch file!!!
                  « Reply #14 on: February 22, 2009, 04:44:37 AM »
                  Fine, here goes my explanation:
                  Problem - Control Panel got stuffed for no bloody reason and my accs change from lmt to adm automatically when i bootup.
                  I cant change my accounts coz i dont have the other dodgy apps in vista.
                  AND school networks dont work like that mate, it's on a lousy server coz i've seen one.

                  Sigh
                  Some people get pissed off by me, the others get pissed on.