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.

Delete install folder after unattended install

Featured Replies

  • Author

aha...dubbel slash and cmd without exe

Yes install is gone... :-)

But i didn't se any cmd window, but what the F... :_))))

I'm very pleased...Thanks a lot..


  • Author

I'm back :-))

I have 2 folders i will delete

install and drivers

If i use this:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce]

"Cleanup"="cmd /C RD %systemdrive%\\install /S /Q"

"Cleanup"="cmd /C RD %systemdrive%\\drivers /S /Q"

the install folder is still there after reboot and drivers is gone

If I use this:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce]

"Cleanup"="cmd /C RD %systemdrive%\\install /S /Q"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce]

"Cleanup"="cmd /C RD %systemdrive%\\drivers /S /Q"

the same

the install folder is still there after reboot and drivers is gone

if i use this

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce]

"Cleanup"="cmd /C RD %systemdrive%\\install /S /Q"

install is gone

How do I delete 2 folders????

This one's easy :) The point is, you're adding a value called Cleanup to the registry. What you're doing is first adding the value Cleanup, with the contens "cmd /C RD %systemdrive%\\install /S /Q". After that, you're adding the same value again (thus overwriting the previous value) with some other contents. I think I'm explaining it a bit too difficult, but here's what you gotta do:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce]
"Cleanup1"="cmd /C RD %systemdrive%\\install /S /Q"
"Cleanup2"="cmd /C RD %systemdrive%\\drivers /S /Q"

Now, first the command of Cleanup1 will be executed, and after that the command of Cleanup2. If you want to add more vaules, just name them Cleanup3, Cleanup4, etc.

Hope you got it all sorted out now :)

Add this to a reg file:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce]
"Cleanup"="cmd.exe /C RD %systemdrive%\install /S /Q"

And then make sure you import it to the registry somewhere. You can also use this code from a batch file:

REG ADD "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce" /V Cleanup /D "cmd.exe /C RD %systemdrive%\install /S /Q"

I believe that should work :)

is the ADD REG code still good or does it also have to have 2 \'s?

  • Author

YES....

1 and 2 after cleanup, and it is working

thanks again

Add this to a reg file:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce]
"Cleanup"="cmd.exe /C RD %systemdrive%\install /S /Q"

And then make sure you import it to the registry somewhere. You can also use this code from a batch file:

REG ADD "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce" /V Cleanup /D "cmd.exe /C RD %systemdrive%\install /S /Q"

I believe that should work :)

is the ADD REG code still good or does it also have to have 2 \'s?

It also needs the two slashes:

REG ADD "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce" /V Cleanup /D "cmd.exe /C RD %systemdrive%\\install /S /Q"

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.