I have built a basic task sequence in SCCM to boot from PXE, run USMT to migrate PCs running XP to Win7, and install a handful of applications. All items run to completion and user profiles migrate successfully. However, even though all previously installed application files are wiped from the C: drive, entries are still left in the Start menus that are either empty folders or .lnk files that point to nowhere. That is, the Start menu is full of legacy junk that doesn't work.
I attempted to put the following command line at the beginning of the TS to be executed in WinPE: RmDir "C:\ProgramData\Microsoft\Windows\Start Menu\Programs" /s /q
This returned a message about the path/files not being found although it does work fine when run from Windows. There doesn't seem to be anything I can find on Google about this. Any hints muchly appreciated.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.
I have built a basic task sequence in SCCM to boot from PXE, run USMT to migrate PCs running XP to Win7, and install a handful of applications. All items run to completion and user profiles migrate successfully. However, even though all previously installed application files are wiped from the C: drive, entries are still left in the Start menus that are either empty folders or .lnk files that point to nowhere. That is, the Start menu is full of legacy junk that doesn't work.
I attempted to put the following command line at the beginning of the TS to be executed in WinPE:
RmDir "C:\ProgramData\Microsoft\Windows\Start Menu\Programs" /s /q
This returned a message about the path/files not being found although it does work fine when run from Windows. There doesn't seem to be anything I can find on Google about this. Any hints muchly appreciated.
Share this post
Link to post
Share on other sites