Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

cleanup.cmd not deleting dotnet folder

Featured Replies

Hi,

No matter what I tried this is the only way I could remove install folders:

SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx

REG ADD %KEY% /V TITLE /D "Windows Install Is Finally Done" /f

REG ADD %KEY%\055 /VE /D "Removing Windows Install Folder" /f
REG ADD %KEY%\055 /V 1 /D "%windir%\system32\hide.exe cmd /C RD /S /Q %systemdrive%\Install" /f

start rundll32.exe iernonce.dll,RunOnceExProcess

Add to the very end of cleanup.cmd. Right before EXIT .

I tried adding to runonce, run, runonceEx, etc. and it would never run on the next reboot.

This vbs script works fine normally but it would not run after the reboot either:

Dim Shell, SD, fso
V = Vbcrlf
on error resume next
Set Shell = WScript.CreateObject("WScript.Shell")
Set fso = CreateObject("Scripting.FileSystemObject")
SD = Shell.ExpandEnvironmentStrings("%SystemDrive%")
fso.DeleteFolder( SD & "\Install")

This would not work either:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce]
"RemoveInstallFolder"="C:\\install\\removeInstallFolder.vbs"

Take Care,

Will


Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.