Infos

Sie befinden sich aktuell in den Archiven des Blogs Techblog - Tim Wanierke für April, 2009.

Calendar
April 2009
M D M D F S S
« Mrz   Mai »
 12345
6789101112
13141516171819
20212223242526
27282930  

Archive für April 2009

BTF-Sniffer

Welche Internetseiten haben Sie zuletzt aufgerufen, welche Dateien geöffnet, welche Programme gestartet, wann den Computer an- und wann ausgeschaltet, welche Ordner wie benannt, was gelöscht, was installiert, wonach gesucht? Sie wissen es nicht mehr, denken, dass dies spurlos geschah oder glauben, Ihre Spuren erfolgreich vernichtet zu haben? Dieses Programm beweist Ihnen das Gegenteil! Kostenlos (im privaten Bereich)!Link : http://home.arcor.de/B.T.F/BTFSniffer/

Useful Windows commands

1. Attrib
Dateiattribute inklusive System-Attribut entfernen (Explorer kann nur Hidden und Readonly):
attrib –r –s –h

2. Besitz übernehmen und Vollzugriff (Vista/Win7):
takeown /f . /r
icacls . /t /grant %username%:F

3. cipher.exe
Alle (EFS-) verschlüsselten Dateien im aktuellen Ordner und unterhalb entschlüsseln:
(der Punkt am Ende steht für das aktuelle Verzeichnis, explizite Ordnerangabe ist natürlich auch möglich…)
cipher.exe /h /i /a /d /s:.

4. compact.exe
Gut komprimierbare Formate in allen Unterordnern komprimieren (ausgehend vom aktuellen Verzeichnis):
compact.exe /c /i /s *.pcx *.bmp *.doc *.rtf *.hlp *.inf *.dll *.xls *.txt *.htm *.html

5. convert
FAT32-Datenträger nach NTFS konvertieren:
convert c: /fs:ntfs

6. file compare ( fc )
Dateien vergleichen (Ascii oder Binär):
fc datei1 datei2
fc /b datei1 datei2

7. regsvr32
DLL oder Active X (de-)registrieren:
DLL oder Active X (de-)registrieren:
regsvr32 xyz.ocx
regsvr32 /u xyz.ocx

8. Firefox Profilmanager
Firefox-Profile nutzen: (beim Aufruf darf keine Firefox-Instanz laufen…):
firefox –ProfileManager

9. Harddisk-Verhalten steuern und messen:
fsutil behavior set disablelastaccess 1
fsutil behavior set disable8dot3 1
fsutil fsinfo statistics c: (zeigt Plattenzugriffe)
fsutil fsinfo ntfsinfo c: (zeigt u. a. Clustergröße)

10. IPV6 deinstallieren und IP-Konfiguration komplett zurücksetzen (Install-Zustand):
netsh interface ipv6 uninstall
netsh interface ip reset c:\reset.txt

11. Logon-Zeiten für ein Konto einschränken (ohne Vista-Jugenschutz, also auch unter XP):
net user <accountname> /times:Mo-So,18-20

12. Kennwort für das Standardkonto “Administrator” vergeben:
net user administrator

13. NTFS-Formatierung auf USB-Sticks erzwingen:
format E: /fs:ntfs

14. Regedit in weiterer Instanz aufrufen (etwa zum Wertevergleich an unterschiedlichen Stellen):
regedit /m

15. Rekursiv alle Dateien löschen
Rekursiv alle Dateien löschen, die bestimmten Namen oder Erweiterung haben:
del /s /f AlbumArtSmall.jpg

16. Ruhezustand deaktivieren
Vista: Ruhezustand deaktivieren:
powercfg -h off

17. Schattenkopien reduzieren
Vista und Win7: Schattenkopien reduzieren (mehrere GB Gewinn - sofort):
vssadmin list shadowstorage
vssadmin delete shadows /for=c: /oldest
vssadmin resize shadowstorage /For=C: /On=C: /MaxSize=1GB

18 . Status der Netzverbindungen anzeigen
Status der Netzverbindungen und der geöffneten Ports anzeigen:
netstat -a

19. winsat
Festplattenleistung und andere PC-Leistungsparameter:
(Winsat gibt es unter Vista, läuft aber auch unter XP)
winsat.exe disk -seq -read -drive c
winsat mem
winsat cpu -compression

Check if VSS ( Volume Shadow Copy Service ) is working on a Windows 2003 Server

1. Open command box and type the following command “VSSAdmin list writers”

All VSS writers should be listed with “no error”
If a writer has an error you can repair the writer using the follwoing article.
Link : http://techblog.wanierke.de/2009/02/13/howto-repair-vss-writers/

2. Check the “COM+” services.

There should be listed two “COM+” services in the “services.msc” SnapIn.

3. Check the “Volume Shadow Copy Service” status.

The status of this service should be “Started”.

4. Perform a test backup of the systemstat using “ntbackup”.

Open a command box and type the following command
“ntbackup.exe backup SYSTEMSTATE /f “C:\Systemstate_VSS_Test.bkf”
When the backup runs without any errors please delete this file afterwards “C:\Systemstate_VSS_Test.bkf”

5. Check the fragmentation of all disks.

Open a command box and type the following command to check if the drive needs to be defragment.
“defrag <VOLUME> -a”

If the drive is fragmented, please use the following command to defragment the drive.
“defrag <VOLUME> -f -v”

6. Check if there is enough free disk space on the volumes. There sould be at least 10% free disk space.

You can check the free disk space of the drives via the MMC SnapIn “diskmgmt.msc” ( Disk Management )

7. Check if Windows Server 2003 SP2 is already installed. This service pack contains some VSS hotfixes.

Install SP2 on the server.

8. Check if the latest VSS hotfix ( KB940349 ) is installed on the server.

Install the VSS Update KB940349 on the server.
Link : http://www.microsoft.com/downloads/details.aspx?FamilyId=AE17B7EF-3C02-496A-BB46-770C04E42B5C&displaylang=en