Can't import tasks when fresh install Windows.

Page 2 of 2 FirstFirst 12

  1. Posts : 834
    Windows 10 Pro 64bit 21H2 19044.1806
       #11

    Wobitancrawfodi said:
    Yep. The account is orphaned. The SID associated with the task no longer exists. That's the very definition of orphaned. But when I tried Tanya-PC\Tanya which is the actually PC name and user name for this PC, I thought it might work. In this case, I would not have thought that to be an orphaned account.
    The fact the current Computer\Username is also failing IS rather puzzling.

    I wasn't sure of the relevance of that link thinking perhaps the account had been renamed or deleted during the life of the install but with a fresh install it sounds like this was an exported task from an old install being imported into this new install, which is something I have to fix with every clean install of a biannual Feature Release so I'm familiar with this process. Mine are local accounts as well.

    Try3 said:
    You can just delete the user ID line <UserId>...</UserId> from the xml completely and it will import for the currently logged in user
    And of course now with this great tip from Try3, importing my tasks for these Clean Installs has just gotten much easier..

    I just tested it too, and works great for me.. Thanks.

    Of course if successful for you, then when you export it afterwards, the correct <SID> will get inserted into the XML, which might point to a cause when looking in the Registry of listed profiles:
    Code:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList
    .
    It would be nice to know why it's not working in case it ever happens to me.
    Last edited by Farvatten; 14 Jul 2020 at 10:17.
      My Computers


  2. Posts : 303
    Windows 10 x64 1809 LTSC
    Thread Starter
       #12

    I can confirm this works. Yay! Thank you.
      My Computers


  3. Posts : 524
    Windows 10 Pro
       #13

    Most times after importing a task you just have to go Poperties of the task, the "General" tab. Click on "Change User or Group", type in your username and click "Check Names", OK, OK.
      My Computer


  4. Posts : 303
    Windows 10 x64 1809 LTSC
    Thread Starter
       #14

    Stigg said:
    Most times after importing a task you just have to go Poperties of the task, the "General" tab. Click on "Change User or Group", type in your username and click "Check Names", OK, OK.
    <shudder> Hell no, that means manual intervention.... I'm kidding.

    Actually, what happened is the tasks are not imported at all (remember, this is a scripted process), so the task had to be manually imported, change the user name, and for some reason, on the action tab, the enabled option always gets unticked.

    The goal, lofty though it may be, is to make the script fully automated so I run it and it also creates a backup image and I can then give the PC back to its owner.
      My Computers


  5. Posts : 524
    Windows 10 Pro
       #15

    OK, Wobit. 👍
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 12:44.
Find Us




Windows 10 Forums