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 7567 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.

                  mroilfield



                    Mentor
                  • Thanked: 42
                    • Yes
                    • Yes
                  • Computer: Specs
                  • Experience: Experienced
                  • OS: Windows 11
                  Re: Help on making this batch file!!!
                  « Reply #15 on: February 22, 2009, 06:07:08 AM »
                  if control panel got messed up wouldn't a repair install of vista fix that?

                  You can't fix Stupid!!!

                  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 #16 on: February 22, 2009, 06:35:27 AM »
                  if control panel got messed up wouldn't a repair install of vista fix that?



                  Most likely.

                  GuruGary



                    Adviser
                    Re: Help on making this batch file!!!
                    « Reply #17 on: February 22, 2009, 08:35:29 AM »
                    Or from the command prompt try the command
                    Code: [Select]
                    control userpasswords

                    BatchRocks



                      Hopeful
                    • Thanked: 3
                      Re: Help on making this batch file!!!
                      « Reply #18 on: February 22, 2009, 08:38:25 AM »
                      Or from the command prompt try the command
                      Code: [Select]
                      control userpasswords

                      That works good, but they need to click everything ;o.

                      maplealvon

                        Topic Starter


                        Rookie

                        Re: Help on making this batch file!!!
                        « Reply #19 on: February 22, 2009, 01:21:53 PM »
                        I solved it using cmd after a few hours of comparison with my friend's help. Turns out usernames with a '.' in them don't seem to work well with cmd. Other accounts could be changed other than one called "The.Sun". Oh well, I'll have to ask someone to delete then.
                        Some people get pissed off by me, the others get pissed on.

                        mroilfield



                          Mentor
                        • Thanked: 42
                          • Yes
                          • Yes
                        • Computer: Specs
                        • Experience: Experienced
                        • OS: Windows 11
                        Re: Help on making this batch file!!!
                        « Reply #20 on: February 22, 2009, 10:53:31 PM »
                        So why can't you do a repair install of vista so that it fixes your control panel to where you can do all of this yourself?
                        You can't fix Stupid!!!

                        maplealvon

                          Topic Starter


                          Rookie

                          Re: Help on making this batch file!!!
                          « Reply #21 on: February 22, 2009, 11:39:40 PM »
                          backing up stuff isnt that easy for me. i've got a ton of settings.
                          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 #22 on: February 23, 2009, 12:21:49 AM »
                          A repair install keeps all your files and settings.