Tags
Howto
(51)
Free Software
(35)
Powershell
(33)
Windows Server
(23)
AD
(16)
Hyper-V
(16)
Exchange
(13)
Office
(13)
Group Policy
(10)
Windows Server 2012
(9)
Scripts
(7)
Symantec BE
(5)
Windows 8
(5)
Cisco
(4)
TMG
(4)
Terminal Server
(4)
Cluster
(3)
HP
(3)
RDS
(3)
UAG
(3)
Citrix
(2)
DC
(2)
DNS
(2)
IE10
(2)
OpenID
(2)
PKI
(2)
SCVMM
(2)
Windows Live
(2)
iLO
(2)
Backup
(1)
DPM
(1)
Fileserver
(1)
IE
(1)
SQL; DPM
(1)
Security
(1)
Sharepoint
(1)
Switch
(1)
VMWare
(1)
Veeam
(1)
dinsdag 12 juni 2012
dinsdag 29 mei 2012
Meet de kwaliteit van je netwerk met iperf
Download xjperf om iperf te gebruiken onder Windows:
Na het downloaden kun je de zip uitpakken en jperf.bat opstarten.
Je hebt hiervoor wel Java Runtime Environment nodig (www.java.com).
Let op: Werk je op een 64-bits Windows machine en gebruik je een 32-bits browser dan zal standaard de 32-bits JRE gedownload worden.
Hierdoor werkt jperf niet, download en installeer daarom handmatig ook de 64-bits JRE van www.java.com.
Naast de GUI kun je tevens via cmd iperf.exe gebruiken, deze staat in de bin dir na het uitpakken van de zip.
Aan de server (wachtende kant) voer je onderstaand commando uit:
iperf.exe –s
Aan de client kant start je onderstaan commando uit:
iperf.exe –c server
Zie onderstaand de output:
Gebruik onderstaand commando voor meer informatie:
Iperf.exe –help
dinsdag 15 mei 2012
Inconsistent WMI Repository
Op een Citrix Server wilde we een aanpassing doorvoeren op RD Session Host, echter kregen we onderstaande foutmelding:
De foutmelding lag aan de WMI repository, welke corrupt was:
Ook het opvragen van de services via Powershell lukte niet:
Services herstarten leverde geen oplossing.
Oplossing:
We hadden geen backup van de repository (locatie %windir%\System32\wbem\repository) die we terug konden zetten, dus onderstaand commando uitgevoerd:
Winmgmt /salvagerepository %windir%\System32\wbem
Handige Powershell scripts voor Exchange
Voor een overzicht van de database omvang en de vrije ruimte daarin:
Get-MailboxDatabase -Status | ft Identity,DatabaseSize,AvailableNewMailboxSpace -auto
Voor een overzicht van mailboxen groter dan 1000MB:
Get-MailboxStatistics -Server mailserver | where {$_.TotalItemSize -gt 1000MB} | sort -Descending TotalItemSize | ft Displayname,ItemCount,TotalItemSize,Database -auto
Get-MailboxDatabase -Status | ft Identity,DatabaseSize,AvailableNewMailboxSpace -auto
Voor een overzicht van mailboxen groter dan 1000MB:
Get-MailboxStatistics -Server mailserver | where {$_.TotalItemSize -gt 1000MB} | sort -Descending TotalItemSize | ft Displayname,ItemCount,TotalItemSize,Database -auto
vrijdag 13 april 2012
Opstartproblemen met Windows XP
Mocht Windows XP niet meer opstarten, kun je onderstaande handelingen uitvoeren. Deze verhelpen in de meeste gevallen het opstartprobleem.
In de “C:\Windows\System32\Config” directory staan 5 bestanden die samen het register vormen.
Dit zijn de bestanden:
Ø SYSTEM
Ø SOFTWARE
Ø SAM
Ø SECURITY
Ø DEFAULT
Het kan voorkomen dat een van deze bestanden zodanig corrupt raakt dat het systeem niet meer kan opstarten.
In sommige gevallen werkt zelfs de “Veilige modus” optie niet meer om vanuit daar Systeem herstel op te starten.
Je zult dan van een Windows XP CD-ROM moeten opstarten en voor de optie “press R to start Recovery Console” moeten kiezen.
Vandaaruit kun je (indien je het Administrator wachtwoord nog weet) de standaard registerbestanden (hives) terugzetten die met Windows XP worden meegeleverd.
Je voert hiervoor de volgende acties uit:
md tmp
copy c:\windows\system32\config\system c:\windows\tmp\system.bak
copy c:\windows\system32\config\software c:\windows\tmp\software.bak
copy c:\windows\system32\config\sam c:\windows\tmp\sam.bak
copy c:\windows\system32\config\security c:\windows\tmp\security.bak
copy c:\windows\system32\config\default c:\windows\tmp\default.bak
delete c:\windows\system32\config\system
delete c:\windows\system32\config\software
delete c:\windows\system32\config\sam
delete c:\windows\system32\config\security
delete c:\windows\system32\config\default
copy c:\windows\repair\system c:\windows\system32\config\system
copy c:\windows\repair\software c:\windows\system32\config\software
copy c:\windows\repair\sam c:\windows\system32\config\sam
copy c:\windows\repair\security c:\windows\system32\config\security
copy c:\windows\repair\default c:\windows\system32\config\default
exit
Vervolgens kun je Windows opstarten en moet je (nadat je de rechten erop hebt aangepast) in de verborgen map “C:\System Volume Information” op zoek gaan bestanden met de volgende namen:
_REGISTRY_USER_.DEFAULT
_REGISTRY_MACHINE_SECURITY
_REGISTRY_MACHINE_SOFTWARE
_REGISTRY_MACHINE_SYSTEM
_REGISTRY_MACHINE_SAM
En kijk dan naar de datum ervan.
Hernoem deze bestanden vervolgens en plaats deze mbv de Recovery Console weer naar “C:\Windows\System32\Config” directory.
Outlook (iig versie 2003) start niet (of alleen in veilige modus) op
Try starting Outlook once with the /safe command line switch for example from the Start > Run > type
"c:\Program Files\Microsoft Office\Office\Outlook.exe" /safe
If Outlook starts this way then the most common causes for the locking up are:
1. Corrupt messages in your Inbox.
2. Corrupt or damaged Toolbar.
3. Damaged view.
4. Add-in causing the error.
Resolution
For No.1 remove the first or last message in your Inbox depending on how you sort the Inbox.
If it is No 2 then renaming outcmd.dat (with Outlook closed) should clear the toolbars,
search your hard drive for a file called outcmd.dat and rename it to outcmd.bak then start Outlook
(if this doesn't cure your problem then you can rename the file back to outcmd.dat and regain any customization of the Toolbars).
For No. 3 the running the /cleanviews command line switch will reset all views to default for example from the Start > Run > type
1. Corrupt messages in your Inbox.
2. Corrupt or damaged Toolbar.
3. Damaged view.
4. Add-in causing the error.
Resolution
For No.1 remove the first or last message in your Inbox depending on how you sort the Inbox.
If it is No 2 then renaming outcmd.dat (with Outlook closed) should clear the toolbars,
search your hard drive for a file called outcmd.dat and rename it to outcmd.bak then start Outlook
(if this doesn't cure your problem then you can rename the file back to outcmd.dat and regain any customization of the Toolbars).
For No. 3 the running the /cleanviews command line switch will reset all views to default for example from the Start > Run > type
"c:\Program Files\Microsoft Office\Office\Outlook.exe" /cleanviews
For No. 4 go to Tools > Options > Other > Advanced Options > Add-ins and uncheck all the add-ins.
Close and restart Outlook, then add the add-ins one by one (closing and restarting Outlook each time) until you get to the problematic add-in.
Depending on the add-in you may be able to remove it completely via Add/Remove Programs in Control Panel and then re-install a fresh copy.
If after a re-install you are still getting problems with the add-in then uninstall it again close Outlook do a search for a file called extend.dat and rename it to extend.old and repeat the installation of the add-in.
Maximum limits for Active Directory
Maximum limits for Active Directory
· Maximum number of GPOs that can apply to a user/computer: 999
· Maximum number of DNS servers in an AD-integrated zone (without manually adding the details): 850 (Windows 2000), 1300 (Windows 2003)
· Maximum number of supported DCs in a given domain: 1200
· Maximum number of members of a group: 5000 (Windows 2000), unlimited in Windows 2003
· Maximum number of DHCP servers in a forest: 850 (Windows 2000 SP1 or RTM), unlimited (Windows 2000 SP2 or later and Windows 2003)
· Maximum number of UPN suffixes that can be set through the UI: 850 (you can set more if you need to via ADSI scripts)
· Maximum number of objects that can be created over the lifetime of a given DIT (i.e. the AD database on a given DC): 2 billion
o This means that no matter what, you can only create 2 billion objects in AD. Even if you delete previous items – it will never use the same ID again.
o I decided to calculate when this would be exhausted if you created and deleted an AD object every second – 63 years.
· Maximum number of GPOs that can apply to a user/computer: 999
· Maximum number of DNS servers in an AD-integrated zone (without manually adding the details): 850 (Windows 2000), 1300 (Windows 2003)
· Maximum number of supported DCs in a given domain: 1200
· Maximum number of members of a group: 5000 (Windows 2000), unlimited in Windows 2003
· Maximum number of DHCP servers in a forest: 850 (Windows 2000 SP1 or RTM), unlimited (Windows 2000 SP2 or later and Windows 2003)
· Maximum number of UPN suffixes that can be set through the UI: 850 (you can set more if you need to via ADSI scripts)
· Maximum number of objects that can be created over the lifetime of a given DIT (i.e. the AD database on a given DC): 2 billion
o This means that no matter what, you can only create 2 billion objects in AD. Even if you delete previous items – it will never use the same ID again.
o I decided to calculate when this would be exhausted if you created and deleted an AD object every second – 63 years.
Abonneren op:
Posts (Atom)





