Win7/W2K8 – alle Events per cli löschen

am Mai 11, 2012 in Microsoft, Win7-W2K8

Seit Windows7 sind im eventlog mehrer logs vorhanden. Um dort alle zu löschen, benötigt man einen guten „klick-Finger“ oder einen einfachen Befehl: for /f „delims= “ %i in (‚wevtutil el‘) do @wevtutil cl „%i“ Mit diesem Befehl löscht man alle logs 🙂

Backup des Win7/W2K8 – Profils mit robocopy

am Mai 11, 2012 in Microsoft, Win7-W2K8

Sicher hat schon jemand probiert, das Benutzer-Profil von Windows7 oder Server 2008 mit robocopy zu sichern, und dabei festgestellt, daß eine Art „loop“ entsteht (im Ziel-Ordner). Das problem sind die „Junction points“. Abhilfe dazu ist der schalter „/XJ“: Explanation /E Copy all subdirectories, even empty ones. /ZB Use restartable mode; if access denied use Backup mode. /R:0 Number of Retries on failed copies, in this case 0. /W:0 Wait time between retries, in this case 0. /XJ Exclude Junction points /NFL No File List – don’t log file names. /XD Exclude selected directories; space delimited /XF Exclude selected files; space delimited Beispiel das eigene Benutzer-profil zu sichern: robocopy.exe c:UsersFreddy z:ProfileBackup /E /ZB /R:0 /W:0 /XJ /NFL /XD „Temporary Internet Files“ Temp cache WER/XF *cache* Achtung: die cmd.exe...

Autologon Win7 – W2K8

am Mai 11, 2012 in Microsoft, Win7-W2K8

here’s how to get the missing checkbox back and configure Autologon: reg add „HKLMSOFTWAREMicrosoftWindows NTCurrentVersionWinlogon“ /v AutoAdminLogon /t REG_SZ /d „1“ /f control userpasswords2 You may find that you need to configure the default domain, as well. If so, enter the following (all on one line) at a CMD prompt, edited to user your domain name: reg add „HKLMSOFTWAREMicrosoftWindows NTCurrentVersionWinlogon“ /v DefaultDomainName /t REG_SZ /d „domain“ /f #################################################### Once you join a server to a domain, Windows will automatically delete the AutoAdminLogon value from the HKLMSOFTWAREMicrosoftWindows NTCurrentVersionWinlogon registry key. This causes the userpasswords2 control to hide the „Users must enter a user name and password to use this computer“ check box shown above....

Problem mit vSphere Client unter Windows7 RC

am Jul 15, 2009 in Microsoft, VMware, Win7-W2K8

Der vSphereclient lässt sich problemlos installieren, startet aber mit einer Fehlermeldung. Abhilfe: von einem XP-Rechner mit .Net3.5 folgende die datei %SystemRoot%Microsoft.NETFrameworkv2.0.50727System.dll nach %ProgramFiles%VMwareInfrastructureVirtual Infrastructure ClientLauncherLib kopieren (Verzeichnis Lib muss erstellt werden). Anschliessend die datei %ProgramFiles%VMwareInfrastructureVirtual Infrastructure ClientLauncherVpxClient.exe.config öffnen und folgendes Runtime Elemnet hinzufügen: <runtime> <developmentMode developerInstallation=“true“/> </runtime> Die Datei sieht dann ca. so aus: <?xml version=“1.0″ encoding=“utf-8″?> <configuration> <system.net> <connectionManagement> <clear/> <add address=“*“ maxconnection=“8″ /> </connectionManagement>...