Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

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.

Empfohlene Antworten

Veröffentlicht

Hallo Leute,

ich muss ein Script schreiben das bestimmte Registry Keys löscht (um genau zu sein unnötige Windows Overlayicons).

reg delete "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Explorer\ShellIconOverlayIdentifiers\"DropboxExt1""


reg delete "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Explorer\ShellIconOverlayIdentifiers\ SkyDrivePro1 (ErrorConflict)"


Da sagt er mir bei "DropboxExt1" das der Key nicht gefunden werden kann.

Wenn ich einen "TEST KEY" anlege kann dieser problemlos gelöscht werden.

Wenn ich einen "TEST (KEY)" anlege kann auch dieser problemlos gelöscht werden.

Also liegt es weder an den Leerzeichen noch an der Klammer.

Irgendwelche Ideen?

EDIT: OK die SkyDrive keys konnte ich nun löschen. Die haben ein vorher ein LEERZEICHEN !!! Und das hab ich natürlich nicht berücksichtigt. Jetzt muss nurnoch das Dropbox Zeugs weg.

Bearbeitet von tschulian

Ich markiere dir mal 2 Zeichen:

reg delete "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Explorer\ShellIconOverlayIdentifiers\"DropboxExt1""

Sollte das Problem eigentlich lösen.

  • Autor

Warum ich diese Overlay Icons überhaupt löschen will?

Unsere Firma verwendet "TortoiseSVN" und dieses erstellt 8 Overlay-Icons. Windows stellt aber leider nur 11 Slots zur verfügung, deshalb funktionieren die TortoiseSVN Overlay Icons nicht wenn Dropbox / Skydrive installiert sind, da diese nach jedem neustart die ShellIconoverlayidentifiers bereinigen und sich selbst wieder anlegen.


@echo off

title = Deleting Overlay Icons...

echo Deleting OverlayIcons out of Registry...


reg delete "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Explorer\ShellIconOverlayIdentifiers\\\"DropboxExt1\"" /f

reg delete "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Explorer\ShellIconOverlayIdentifiers\\\"DropboxExt2\"" /f

reg delete "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Explorer\ShellIconOverlayIdentifiers\\\"DropboxExt3\"" /f

reg delete "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Explorer\ShellIconOverlayIdentifiers\\\"DropboxExt4\"" /f

reg delete "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Explorer\ShellIconOverlayIdentifiers\\\"DropboxExt5\"" /f

reg delete "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Explorer\ShellIconOverlayIdentifiers\\\"DropboxExt6\"" /f

reg delete "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Explorer\ShellIconOverlayIdentifiers\\\"DropboxExt7\"" /f

reg delete "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Explorer\ShellIconOverlayIdentifiers\\\"DropboxExt8\"" /f

reg delete "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Explorer\ShellIconOverlayIdentifiers\ SkyDrivePro1 (ErrorConflict)" /f

reg delete "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Explorer\ShellIconOverlayIdentifiers\ SkyDrivePro2 (SyncInProgress)" /f

reg delete "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Explorer\ShellIconOverlayIdentifiers\ SkyDrivePro3 (InSync)" /f


echo.

echo.

echo.

echo.

echo All Overlay Icons deleted from Registry.

echo Killing Explorer.exe Process ...

echo.

echo.

taskkill /IM explorer.exe /F

timeout 1

echo.

echo.

echo Starting Explorer.exe ...

start explorer.exe

echo.

echo.

echo Explorer.exe sucessfully started.

echo. Closing Script...

timeout 5

Um einen PC-Neustart zu vermeiden wird einfach der Explorer.exe Task gekillt und dann gestartet.

Der Rest des Codes erklärt sich von selbst.

Danke an @mfk für seinen finalen Hinweis!

!! Trotzdem der Hinweis: Verwenden auf eigene Gefahr !!

Bearbeitet von tschulian
Credits

Erstelle ein Konto oder melde dich an, um einen Kommentar zu schreiben.

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.