• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Unattend Local Admin Account isn't part of Administrators

    Scheduled Pinned Locked Moved Unsolved
    Windows Problems
    2
    4
    454
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • F
      flipwalker
      last edited by

      So the unattend you all helped me create is working well and making our life much easier, thank you!

      However, today a user helped me discover a problem. My custom local admin account for some reason isn’t accepting the Administrator group. My account add portion of the unattend is:

      <UserAccounts>
      <LocalAccounts>
      <LocalAccount wcm:action=“add”>
      <Password>
      <Value>notmypassword</Value>
      <PlainText>false</PlainText>
      </Password>
      <Description>Admin Account</Description>
      <DisplayName>Admin</DisplayName>
      <Group>Administrators</Group>
      <Name>localadmin</Name>
      </LocalAccount>
      </LocalAccounts>
      </UserAccounts>

      Anyone have any idea why it wouldn’t be a member of the Administrator group?

      Thanks,

      Philip

      Wayne WorkmanW 1 Reply Last reply Reply Quote 0
      • Wayne WorkmanW
        Wayne Workman @flipwalker
        last edited by Wayne Workman

        @flipwalker Does the local administrators group start with a capital A ? Just a guess. I know windows is not case sensitive for usernames. Not sure if the same applies to group names.

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
        Daily Clean Installation Results:
        https://fogtesting.fogproject.us/
        FOG Reporting:
        https://fog-external-reporting-results.fogproject.us/

        1 Reply Last reply Reply Quote 0
        • F
          flipwalker
          last edited by flipwalker

          So I found the problem. It was a PEBCAK issue. Essentially I had also instituted a group policy restricting membership of the Local Admin group and had forgotten to add my locally created admin to the group policy. So as soon as it created the user and got domained it immediately removed it from the admin group.

          Luckily I had a USB with Kali on it laying around so I just hopped on and elevated privilege on a user so I could fix the problem that had arose.

          Sorry for wasting the communities time.

          Philip

          1 Reply Last reply Reply Quote 1
          • Wayne WorkmanW
            Wayne Workman
            last edited by

            The thread will likely help someone in the future.

            Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
            Daily Clean Installation Results:
            https://fogtesting.fogproject.us/
            FOG Reporting:
            https://fog-external-reporting-results.fogproject.us/

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post

            162

            Online

            12.0k

            Users

            17.3k

            Topics

            155.2k

            Posts
            Copyright © 2012-2024 FOG Project