Jump to content


  • 0
mikedisd

Migrated Win7 Start Menu Not Cleaned Up During OSD

Question

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

2 answers to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...


×
×
  • Create New...

Important Information

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.