Page 72 of 85 FirstFirst ... 2262707172737482 ... LastLast

  1. Join Date : Feb 2016
    Hampton, NH
    Posts : 15
    Windows 7 Home Premium 64bit Going to Win 10
       2016-07-25 #710

    Thanks, I should have searched first...
    Thanks again.
      My System SpecsSystem Spec


  2. Join Date : Jul 2016
    Posts : 11
    Windwos 10 Pro
       2016-07-26 #711

    dtbullock said: View Post
    OK, I had discounted that particular warning because my system does not have an optical drive. However, I will follow a modified procedure, using Disk Management, before Sysprepping:


    • map the target drive to some other letter, such as Q:
    • map it back to D: again


    If I have understood you correctly now, this will make the assignment of that drive letter explicit rather than being just how the lettering falls out based on the order Windows encounters the devices. I will attempt this tomorrow and report back.
    I tried this (explicitly assigning D: as a drive letter), and tried simply having the drive mapped as H:, and tried disabling McAfee while I did it, and I still can't get get the folder to re-locate using method #2.

    There is a decided lack of anything-to-do-with-Profile-folders in the sysprep log. Further, sysprep is over and done in a mere 4 seconds - not really enough time to be copying userprofile data between drives. I really do think that for some reason it is not processing the directive in the unattend.xml file, even though it says that it found the file.

    To that end, would it be possible to post the relevant portion of a successful sysprep run, so that I can compare it with my logs and see which entries are missing in my environment? I note that at least one other user (who also has a PC which is OEM'd ... mine is Lenovo) appears to have a similar issue to me. Thanks.

    I don't know if it's relevant, but "net user Blah /enable:foo" is not working for me in some cases (it reports success but achieves nothing), and I'm having to enable/disable profiles through Computer Management > System Tools > Local users and Groups. It looks very much like those two methods of accomplishing enablement/disablement of profiles keep score of whether a profile is enabled or not, in very different ways. Let me know if you would like me to start a new thread on this (for curiosity's sake, not that it's stopping me from doing anything).
      My System SpecsSystem Spec


  3. Join Date : Oct 2013
    A Finnish ex-pat in Germany
    Posts : 9,050
    Windows 10 Pro
       2016-07-26 #712

    dtbullock said: View Post
    Let me know if you would like me to start a new thread on this (for curiosity's sake, not that it's stopping me from doing anything).
    First, I do not want you to start a new thread for this issue. It would be cheating, kind of, as if I would not like you geeks posting about issues in this thread, only welcoming "Thanks a lot, worked perfectly!" replies

    I am starting to suspect that some pre-installed OEM systems have some kind of security features in place, to keep the system as manufacturer has intended. I have no factual knowledge of this, it just seems weird that a few OEM systems simply do not "obey" the answer file. Sysprep works, no error messages, drive assignments correct, just the relocation part (ProfilesDirectory tags) will be ignored.

    Your system specs show you have the PRO edition, meaning you have Hyper-V available. You could easily test if your answer file works, exactly as it is and was used on your Lenovo, on a virtual machine. No additional product key needed.

    Hyper-V virtualization - Setup and Use in Windows 10 - Windows 10 Forums

    Anyway, my suggestion is as always: create a system image backup, download Windows 10 ISO, burn it to DVD or make a bootable USB flash drive, do a clean install wiping everything and follow instructions for Method One. Alternatively forgot relocating Users and manually change storage location of your docs, pics and such (tutorial).

    Kari
      My System SpecsSystem Spec


  4. Join Date : Jul 2016
    Posts : 11
    Windwos 10 Pro
       2016-07-26 #713

    Kari said: View Post
    First, I do not want you to start a new thread for this issue. It would be cheating, kind of, as if I would not like you geeks posting about issues in this thread, only welcoming "Thanks a lot, worked perfectly!" replies

    I am starting to suspect that some pre-installed OEM systems have some kind of security features in place, to keep the system as manufacturer has intended. I have no factual knowledge of this, it just seems weird that a few OEM systems simply do not "obey" the answer file.
    Hmmm, this guy says that using the /unattend switch "will cache the sysprep.xml file as \windows\panther\unattend.xml". But that latter location is not the file I supplied ... it's the one prepared earlier by Lenovo. So we can narrow our problem down to: either sysprep fails to actually copy the file there, or between the time when it does and the time when 'Panther' is wanting to process it, Lenovo's version gets dumped there instead. (The file modification time-stamp would seem to suggest the latter ... sigh).
      My System SpecsSystem Spec


  5. Join Date : Oct 2013
    A Finnish ex-pat in Germany
    Posts : 9,050
    Windows 10 Pro
       2016-07-26 #714

    dtbullock said: View Post
    Hmmm, this guy says that using the /unattend switch "will cache the sysprep.xml file as \windows\panther\unattend.xml". But that latter location is not the file I supplied ...
    A test if you still have patience to try something. First a bit info about the unattended answer file:

    When sysprep is run, it looks if the folder C:\Windows\System32\Sysprep contains an answer file. Sysprep can only look, find and use the file in this location if it is named as unattend.xml (exactly like that!). If unattend.xml is found, it will be used in sysprep process and no /unattend:X:\MyAnswerFile.xml switch is needed.

    If a valid answer file is not found in said folder, or if one is found but it has any other name than unattend.xml, the /unattend:X:\MyAnswerFile.xml switch is needed to tell sysprep where to find the answer file.

    OK, that being said you could test changing your answer file's name to unattend.xml and run sysprep without /unattend:X:\MyAnswerFile.xml switch, simply with this command:
    Code:
    sysprep.exe /oobe /reboot

    This should bypass any unattended answer files set in place by Lenovo.
      My System SpecsSystem Spec


  6. Join Date : Jul 2016
    Posts : 11
    Windwos 10 Pro
       2016-07-26 #715

    Kari said: View Post
    A test if you still have patience to try something.
    Well, it's practically solved, so I'm not going to give up NOW.

    Kari said: View Post
    When sysprep is run, it looks if the folder C:\Windows\System32\Sysprep contains an answer file.
    That isn't quite the case here. This article (which the previous guy mentioned referred to) tells us the search path for Unattend.xml. Incredibly, C:\Windows\Panther (the location where answer files get cached) is only the 3rd most powerful location! I'll be back in a minute ...
      My System SpecsSystem Spec


  7. Join Date : Oct 2013
    A Finnish ex-pat in Germany
    Posts : 9,050
    Windows 10 Pro
       2016-07-26 #716

    dtbullock said: View Post
    That isn't quite the case here. This article (which the previous guy mentioned referred to) tells us the search path for Unattend.xml. Incredibly, C:\Windows\Panther (the location where answer files get cached) is only the 3rd most powerful location! I'll be back in a minute ...

    1. That article is already bit outdated
    2. The article is about answer files being used with setup.exe, not with sysprep.exe
    3. My suggestion about where to put answer file and how to name it is based on the method and purpose of this tutorial: only one configuration pass is used, OobeSystem; if valid answer file is found in location I told you, it bypasses other possible answer files with configuration pass OobeSystem
      My System SpecsSystem Spec


  8. Join Date : Jul 2016
    Posts : 11
    Windwos 10 Pro
       2016-07-26 #717

    dtbullock said: View Post
    That isn't quite the case here. This article (which the previous guy mentioned referred to) tells us the search path for Unattend.xml. Incredibly, C:\Windows\Panther (the location where answer files get cached) is only the 3rd most powerful location! I'll be back in a minute ...
    OK, so the Lenovo-supplied C:\Windows\Panther\Unattended\Unattend.xml was clobbering the C:\Windows\Panther\Unattend.xml which sysprep /unattend:foo.xml allegedly puts there before rebooting the machine. This is apparently by design.

    In my case, I achieved my own aims by hacking the Lenovo-supplied version and adding the <FolderLocation /> section into their already-present section for the windows shell component. It should also have worked if I had renamed C:\Windows\Panther\Unattended\Unattend.xml to any other name, and then followed your instructions. (But I really wanted to avoid following the directions a ninth time).

    The computer is now either:
    • copying the user profiles files from C: to H: and I'm regretting not cleaning out my Downloads folder first; or
    • stuck in some kind of endless loop because I got the XML syntax wrong, and I'll need to re-install in the morning; or
    • both.


    But I'm pretty sure it's the first option. :-)

    One interesting thing I discovered was that after setup completes, it actually re-writes C:\Windows\Panther\unattend.xml and puts attributes in the <settings /> elements to say that the directive was processed.

    Not sure who owes who a beer now. Probably I should get all the beers from people with OEM'd machines. Sound fair?
      My System SpecsSystem Spec


  9. Join Date : Oct 2013
    A Finnish ex-pat in Germany
    Posts : 9,050
    Windows 10 Pro
       2016-07-26 #718

    Sounds fair

    Please do not forget to post about how it went. Anyway, no beer for me, I don't drink alcohol. Only whisky, occasionally cognac and brandy, a good port or sherry. But no alcohol.
      My System SpecsSystem Spec


  10. Join Date : Jul 2016
    Posts : 11
    Windwos 10 Pro
       2016-07-26 #719

    Kari said: View Post
    Sounds fair

    Please do not forget to post about how it went. Anyway, no beer for me, I don't drink alcohol. Only whisky, occasionally cognac and brandy, a good port or sherry. But no alcohol.
    :-) I'm now writing from the Win 10 machine where my profile is located at H:\Users !

    Well, for some of us, problems with Windows stop us doing productive work, which makes it difficult to buy good single-malt on a very regular basis. Thanks for writing this article, I am very happy to take the pressure of my new (and rather small) SSD, and I look forward to getting on with using my system.

    regards,
    David.
      My System SpecsSystem Spec


 
Page 72 of 85 FirstFirst ... 2262707172737482 ... LastLast


Similar Threads
Tutorial Category
"Folder access denied" C:\Users\<truncated name>\One Drive
Unable to delete folder, unable to change permissions, and unable to get One Drive to read to Documents folder correctly. I have attempted five times and each time it fails. So I try to delete the One Drive folder so I can reboot and try again,...
General Support
Solved Cannot move documents folder
I am trying to move my documents folder from the external drive I put it on before installing Win10. It looks like its going to move, then says its done but nothing has moved. Any ideas?
General Support
More Users Move to Windows XP Ahead of Windows 10 Launch
Source
Windows 10 News
Solved Startup Folder Location
Exactly where is the Startup Folder for Windows 10 located? Thank you.
General Support
Solved Linking to Users folder on different drive
Hello, Has anyone had any trouble linking the C:\users folder on another machine? I have successfully done this all the last 3 installs of windows I have done following these instructions: How To Change User Profile Location in Windows 8 without...
General Support
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 07:21.
Find Us
Twitter Facebook Google+



Windows 10 Forums