Disable Internet on Hyper-V VM during upgrade.

Rick Someone 411 Reputation points
2021-04-06T14:44:40.597+00:00

I need to upgrade my VM via an ISO I modified to remove unwanted stuff (mostly apps).

How can I upgrade this VM to the new OS without internet connection, so that the apps don't re-appear?
If they do, then I'm stuck right where I was, with my sysprep breaking because of this POS apps.

I have a virtual network between my VM and the MDT Server which I need, but I don't want the VM to have any ability to go beyond that, outside to the internet.
I do not know how to disable the VM internet access but retain the local Virtual Connection to the server.
Any ideas?

Microsoft Deployment Toolkit
Microsoft Deployment Toolkit
A collection of Microsoft tools and documentation for automating desktop and server deployment. Previously known as Microsoft Solution Accelerator for Business Desktop Deployment (BDD).
825 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Simon Ren-MSFT 29,956 Reputation points Microsoft Vendor
    2021-04-07T09:27:22.733+00:00

    Hi,

    Thanks for posting in Microsoft MECM Q&A forum.

    When you update a computer running Windows 10, version 1703 or 1709, you might see provisioned apps that you previously removed return post-update. This can happen if the computer was offline when you removed the apps. This issue can occur whether you removed the app using Remove-appxprovisionedpackage or Get-AppxPackage -allusers | Remove-AppxPackage -Allusers. This issue was fixed in Windows 10, version 1803.

    For more information, please refer to: How to keep apps removed from Windows 10 from returning during an update

    Thanks for your time.
     
    Best regards,
    Simon


    If the response is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


  2. Rick Someone 411 Reputation points
    2021-04-09T14:24:56.86+00:00

    For DanielRogers672-5117,

           Reading this post and the conversations, I couldn't mark anything as a solid answer because I still cannot Capture this image because of MS apps. So, with that said, "the only solution to winning the game is not to play at all."
    

    I'm having our development team rebuild their VM image with 20H2 and not dealing with an upgrade.

    0 comments No comments