If you want to copy / backup Active Directory Information do the following: (tested on Server 2008) Stop Active Directory Domain Services cmd.exe ntdsutil –> Activate Instance NTDS –> files –> compact to c:\horst (temp Folder) now U have a copy of your AD Information in C:\horst\ntds.dit Now, say you backup your AD Data every [...]
Powershell: read eventlogs from remote servers and send them as mail
with the help of the Microsoft Community here is a script which reads the eventlogs from multiple Servers and finally sends the output with the help of the Send-MailMessage Cmdlet (Powershell v 2.0) It has 2 forech () Sections because it should go server by server. $meldungen = @() $compName = $("server1", "server2") $Logs =$("System", [...]
Copy directories depending on LastWriteTime with Powershell
This is my first PowerShell Script, Comments welcome. Thanks to Google and all the Scripting Gods out there The intention of this Powershell Script is not to know what it has to copy, the only filter is in “$dirs = Get-ChildItem $Quelle -filter erp* | % {$_.fullname}“. I filter for erp as the first three [...]
Firefox hoher Speicherverbrauch
Mein Firefox 3.6.? möchte gerne im laufenden Betrieb (bei 4-5 offenen Tabs) 400-500 MB Hauptspeicher haben (je neuer die Version desto größer das Problem) Um das zu unterbinden sind zwei Einträge in der about:config einzutragen: 1. Erstellen eines Wertes namens config.trim_on_minimize als Boolean und weist ihr den Wert true zu. 2. Dem Wert browser.sessionhistory.max_total_viewers den [...]
Moving a Windows Server 2003 to a different hardware
Hey my first Windows Server Blog entry Below you’ll find the original text from Microsoft with my comments –> Link to Microsoft Article With the following procedure i successfully moved a backup server with Symantec Backup and a _lot_ of software to another hardware. Everything is was okay except the Windows NFS Server (had to [...]
If you don’t like blat, use sendEmail
http://caspian.dotconf.net/menu/Software/SendEmail/
Reset WSUS (Client + Server)
This one resets your local WSUS Settings, just copy in a batch file and run as Admin. rem Fixes problem with client machines not showing up on the server due to imaging method reg delete HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate /v AccountDomainSid /f reg delete HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate /v PingID /f reg delete HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate /v SusClientId /f cls @echo Triggering detection [...]