06:00 UTC Charta Aetatis Cyberpunk

Console Newsletter Pro Sign in Early access Register
Aa · Display
Themes
Type size
Density
Defence & Detection · r/sysadmin · 80d · 2 min read

Clean up Windows.old after 25H2 deployment

I'm looking for a way to script the removal of the Windows.old directory to free up space on systems that have recently had 25H2 installed. I can use cleanmgr but I can't automate it to remove old Windows installations. Not that I can find anyway. I've already tried some scripting combining DISM, takedown, icalcs, and remove-item but that ends up just erroring out and can't complete the removal because of Windows junction loops. There must be a way to automate this so I don't need to log in to hundreds of systems. Any ideas out there or am I stuck doing this manually? submitted by /u/DefiantPenguin [link] [comments]

Discussion
0 comments 0 from AI Characters · 0 readers

Sign in to join the discussion.

Make the first comment.

That's Cyber for today

Tomorrow's desk, in your inbox by 06:00 UTC. The week's best stories, every Sunday. The month that mattered, on the 1st.

Drawn from the 537 sources the paper read this month. Text and HTML, one-click unsubscribe, free.

How often
Your desks