Deploying Windows Server 2003 R2 using MDT 2008

1. Voeg in MDT onder Operating System de Windows 2003 R2 CD1 toe.
Maak hier voor ook gelijk een Task toe.
Locatie in mijn geval:
D:DistributionOperating SystemsWindows Server 2003 R2 Enterprise SP2 Eng x86

2. Maak de volgende structuur lijkend op deze
D:Distribution
-Operating System
–Windows Server 2003 R2 Enterprise SP2 Eng x86
—$OEM$
—-$1
—–R2

3. Van de Windows Server 2003 R2 CD2, kopieer de CMPNENTS map naar D:DistributionOperating SystemsWindows Server 2003 R2 Enterprise SP2 Eng x86$OEM$$1R2

4. In de OEM$$1R2 map maak een batch bestand aan genaamd InstallR2.cmd (met de onderstaande tekst er in)

reg add HKLMSoftwareMicrosoftWindowsCurrentVersionSetup /v SourcePath /t REG_SZ /d C:WindowsSourcei386 /f
reg add HKLMSoftwareMicrosoftWindowsCurrentVersionSetup /v ServicePackSourcePath /t REG_SZ /d C:R2CMPNENTSR2 /f
C:\R2CMPNENTSR2setup2.exe /q /a /sr

Opmerking: Er zijn 3 regels. Regel 1 & 2 beginnen met  "reg", regel 3 begint met "C:R2".

4. Pas de Windows Server 2003 R2 X86 Task Sequence aan.
Pas de [GUIRunOnce] sectie in Unattend.txt aan zoals het hier onderstaat:
[GUIRunOnce]
    "C:R2InstallR2.cmd"
    "cscript.exe C:MININTScriptsLiteTouch.wsf /start"
    "cscript.exe D:MININTScriptsLiteTouch.wsf /start"
    "cscript.exe E:MININTScriptsLiteTouch.wsf /start"
    "cscript.exe F:MININTScriptsLiteTouch.wsf /start"

Opmerking: Wil je de melding Windows Server Post-Setup Security Updates scherm niet krijgen moet je onder staan regel gebruiken.

Option 1:

Set "HKLMSoftwareMicrosoftWindowsCurrentVersionServerOOBESecurityOOBEDontLaunchSecurityOOBE" to "0"

Option 2:

Wil je Windows Firewall uitgeschakeld hebben voeg deze regels dan toe in unattend.xml

[WindowsFirewall]
Profiles = WindowsFirewall.TurnOffFirewall

[WindowsFirewall.TurnOffFirewall]
Mode = 0

BRON

Skipping MDT Wizard Pages (CustomSettings.ini & Bootstrap.ini)

1. Open MDT

clip_image002
2. Ga naar Deployments Points
3. Rechter muis op je deployment point en kies properties
4. Ga naar Rules Tab.

clip_image004

5. Neem de onderstaande instellingen over.

[Settings]
Priority=Default
Properties=MyCustomProperty

[Default]
OSInstall=YES
_SMSTSORGNAME=WardVissers
SkipCapture=No
SkipAdminPassword=YES
SkipProductKey=YES
SkipDeploymentType=YES
DeploymentType=Newcomputer
SkipDomainMembership=NO
JoinDomain=wardvissers.local
DomainAdmin=helpdesk 
DomainAdminDomain=wardvissers.local
DomainAdminPassword=***********
SkipUserData=YES
SkipBuild=NO
SkipComputerName=NO
SkipPackageDisplay=NO
SkipLocaleSelection=YES
SkipTimeZone=YES
SkipApplications=NO
SkipBitLocker=YES
SkipBitLockerDetails=YES
SkipSummary=YES
SkipFinalSummary=YES
UserDataLocation=NONE
SkipAppsOnUpgrade=YES
TimeZoneName=W. Europe Standard Time
TimeZone=110
AreaCode=0413
UserLocale=nl-NL
Language=00000413
SystemLocale=00000413
UserLocale=00000413
InputLocale=0413:00020409
InputLocale=nl-US
KeyboardLocale=nl-US
WSUSServer=http://wsus
FinishAction=REBOOT

6. Klik vervolgens op Edit Bootstrap.ini & neem onderstaande settings over.

[Settings]
Priority=Default

[Default]
DeployRoot=\\servername\DeploymentShare$
SkipBDDWelcome=Yes
KeyboardLocale=nl-US
Userid=Helpdesk
UserPassword=********
Userdomain=wardvissers.local

7. Klik vervolgens op X en kies voor Save.
8. Klik op Apply & OK.
9. Rechtermuis op je deployment en kies voor update. Hij gaat nu het wim & iso bestand updaten.

Opmerking: Vergeet de bijgewerkte WIM image niet opnieuw te koppelen aan WDS anders moet je nog steeds door veel schermen heen klikken.

BRON1 BRON2 BRON3

Outlook Contacts to vCard (vcf) files

Ik was aan het zoeken op een het internet naar tooltje wat mijn contacten kan exporteren in een keer naar vcf file’s.
Ik vond verschillende tooltjes maar geen een die gratis was.
Tot ik het vb script vond van Dave Moats. Het werkt als een trein.

Aanroep:
C:scripts>cscript exportContacts.vbs /p:C:scriptsoutlookContacts
Microsoft (R) Windows Script Host Version 5.6
Copyright (C) Microsoft Corporation 1996-2001. All rights reserved.

Ward.vcf
Mark.vcf

Script:
==========================================================
‘==     VB Script to Export Outlook Contacts to vCard (vcf) files
‘==
‘==           Copyright © 2008, Dave Moats
‘==
‘== This sample is provided ‘AS-IS’, without any
‘== express or implied warranty. In no event will the
‘== authors be held liable for any damages arising from
‘== the use of this sample code.
‘==
‘== Permission is granted to anyone to use this sample
‘== code for any purpose, including commercial applications,
‘== subject to the following restrictions:
‘==
‘== The origin of this code must not be misrepresented;
‘== you must not claim that you wrote the original code.
‘==
‘== If you use this code, an acknowledgment in the
‘== documentation is requested – shown below:
‘==
‘==             Portions Copyright © 2008,
‘==        Dave Moats (http://www.davemoats.com/).
‘==
‘==========================================================

‘==========================================================
‘== NOTE: watch for wrapped lines and html special
‘==        characters in the web representation of this
‘==        sample code
‘==========================================================

‘==========================================================
‘==
‘== exportContacts.vbs – a script used to export contacts
‘==                        from outlook and save them in
‘==                        vcf format
‘==========================================================
option explicit

‘==========================================================
‘== declare the local variables to be used
‘==========================================================
dim scriptName, namedArgs, folderPath

‘==========================================================
‘== get the name of the running script
‘==========================================================
scriptName = wscript.scriptname

‘==========================================================
‘== get the named command line arguments
‘==========================================================
set namedArgs = wscript.arguments.named

if not namedArgs.exists("p") then
   wscript.echo "Usage: " & scriptName & " /p:<output folder path> is required"
   wscript.echo "Example: cscript " & scriptName & " /p:c:path to the folder"
   wscript.quit
else
   folderPath = namedArgs.item("p")
end if

set namedArgs = nothing

‘==========================================================
‘== now call the subroutine that does all the work
‘==========================================================
exportToVCF folderPath, ".vcf"

wscript.quit

‘==========================================================
‘== sub exportToVCF – subroutine that connects to outlook
‘==                   and exports all contacts to the path
‘==                   specified in the exportPath argument
‘==========================================================
sub exportToVCF(exportPath, ext)
    ‘======================================================
    ‘== declare the local variables
    ‘======================================================
    dim outApp, fldContacts, contactEntry, exp

    ‘======================================================
    ‘== create the outlook object and then get the contacts
    ‘======================================================
    set outApp = createobject("Outlook.Application")
    set fldContacts = outApp.getnamespace("MAPI").getdefaultfolder(10)

    ‘======================================================
    ‘== here we are looping the entries in the contacts
    ‘== folder looking for contacts – when a contact is
    ‘== found it will be exported
    ‘======================================================
    for each contactEntry in fldContacts.items
       if typename(contactEntry) = "ContactItem" then

          dim tmpString, tmpArr, periodLocation, outPath

          tmpString = contactEntry.lastnameandfirstname
          ‘================================================
          ‘== creating the name of the vcf file based on
          ‘== the first and last name fields of the contact
          ‘================================================
          tmpString = replace( tmpString, "’", "" )

          tmpArr = split( tmpString, "," )

          if ubound( tmpArr ) <> 1 then
             wscript.echo tmpString & ext
             outPath = exportPath & "" & tmpString & ext
          else
             if tmpArr(0) = "com" then
                wscript.echo trim(tmpArr(1)) & trim(tmpArr(0)) & ext
                outPath = exportPath & "" & trim(tmpArr(1)) & trim(tmpArr(0)) & ext
             else
                wscript.echo trim(tmpArr(1)) & " " & trim(tmpArr(0)) & ext
                outPath = exportPath & "" & trim(tmpArr(1)) & " " & trim(tmpArr(0)) & ext
             end if
          end if
          contactEntry.saveas outPath, 6

       end if
    next
    ‘======================================================
    ‘== dumping the object references that were created
    ‘======================================================
    set fldContacts = nothing
    set outApp = nothing

end sub

Outlook 2007 Anywhere Exchange 2007

1. Klik in het menu Extra op Accountinstellingen, selecteer het Exchange-account en klik vervolgens op Wijzigen.

2. Klik op Meer instellingen en klik vervolgens op het tabblad Verbinding.

3. Schakel onder Outlook Anywhere het selectievakje Via HTTP verbinding maken met Microsoft Exchange in.

clip_image002

Opmerking: Als de sectie Outlook Anywhere niet beschikbaar is, is Windows XP Service Pack 2 of hoger vermoedelijk niet op de computer geïnstalleerd.

4. Als u een proxyserver wilt opgeven, klikt u op Proxy-instellingen van Exchange.

clip_image004

1 Voer bij url in je domein naam in waarmee je vanaf buiten kunt connecten naar de exchange server.

2.  Als je een SSL verbinding wilt gebruiken vinkje aan Alleen verbinden via SSL in.

5. Klik onder Instellingen voor proxyverificatie op Basisverificatie of NTLM-verificatie, NTLM-Verificatie wordt standaard gebruikt die uitleg hieronder.

clip_image006

Opmerking: Bij het gebruik van Basisverificatie wordt het wachtwoord in de vorm van leesbare tekst verzonden. Voor de beste beveiliging wordt geadviseerd de opties NTLM-verificatie en Alleen verbinden via SSL in te schakelen.

Beste Wensen & Gelukkig 2009

 

De beste wensen & gelukkig 2009.

Mogen er nog interesante nieuwtjes over Microsoft, Exchange & VMware verschijnen.

Waar we weer lekker over kunnen bloggen.

Iedereen bedankt die tot nu toe mijn blog heeft bezocht.

Groetjes , Ward Vissers

VMware Time Sync & Virtual Windows Domain Controller & VMware Tools

Bij veel mensen is het onbekend hoe het zit met de tijd synchronisatie op virtuele machines.
Microsoft & VMWare hebben hier paar interessante documenten overgeschreven.

– http://www.vmware.com/pdf/vmware_timekeeping.pdf
– http://support.microsoft.com/kb/888794
– http://kb.vmware.com/kb/1318

VMware houdt aan de regel dat je het beste de VMware tools de tijd synchronisatie kunt laten synchroniseren.
En in de Windows de Windows Time services uitgeschakeld dit geldt alleen niet voor domein controllers.
Voor de domein controllers moet je in VMware Tools de tijd synchronisatie aanzetten. Tevens moet je zorgen dat de Windows Time Services op Server-Only
komt te draaien. Dit geldt voor elke domain controllers.
Dit doe je als volgt door in het register de  volgende waarde wijzigen: HKEY LOCAL MACHINESYSTEMCurrentControlSetServicesW32TimeParameters
Type=NoSync te zetten.

Handige Links:
http://www.windowsnetworking.com/articles_tutorials/Configuring-Windows-Time-Service.html

MDT WAIK Windows 2008 & Vista

 

Wil je MDT inrichten op Windows 2008 server. Dan zul moet je gebruik maken van de volgende waik versie.

http://www.microsoft.com/downloads/details.aspx?familyid=94BB6E34-D890-4932-81A5-5B50C657DE08&displaylang=en

Microsoft SQL Server 2005 Service Pack 3

Microsoft heeft Service Pack 3 voor SQL Server 2005 vrij gegeven.

Lijst met updates kun je HIER bekijken.

De update kun je HIER downloaden.

Windows Server 2008 R2 Beta Reviewers Guide

Microsoft heeft een beta document online neer gezet. Met de functie’s met uitleg die uit gaan komen in Windows 2008 R2. Zoals wat ondersteund gaat worden in Hyper V2.0 & Powershell V2.0

Je moet het gewoon echt even lezen
Kijk het document HIER

Exchange 2007 Mail Limieten

Microsoft Referentie : Managing Message Size Limits

1.   Global/Organisatie Limit

2.   Connector Limit

     2.1   Send Connector

     2.2   Receive Connector

     2.3   Active Directory SiteLink

     2.4   Routing Group Connector

3.   Server Limieten

4.   User Level Limieten

1. Global / Organisatie Limieten

Deze instelling geldt voor alle Exchange Servers in de organisatie

Je kunt deze op twee manieren instellen
Als Exchange 2007 SP1 is niet geïnstalleerd is moet je het controleren via het volgende powershell commando

Controleer de configuratie als hieronder:

Get-TransportConfig

clip_image002

Zet met de het volgende commando MaxReceiveSize en MaxSendSize op 50mb

Set-TransportConfig -MaxReceiveSize 50MB -MaxSendSize 50MB

clip_image004

Controleer met het volgende commando of dat het goed staat Get-TransportConfig.

clip_image006

Als SP1 is geïnstalleerd dan kun je de instelling aanpassen via de Exchange Management Console. Voor deze instelling geldt: dat hij voor alle Hub Transport Servers geldt in de organisatie.

Organization Configuration -> Hub Transport -> Global Settings tab ->  Transport Settings -> Click on Properties -> set Maximum Receive Size and Maximum Send Size

clip_image008

2. Connectors Limieten

2.1. Send Connector

De send connector wordt gebruikt om mailtjes te versturen naar het internet of naar een door jouw ingesteld adres.

Je kunt dit heel makkelijker instellen via powershell

Huidige Instelling: Get-SendConnector | fl

clip_image010

Nu zetten we de message grootte op 50 mb.

Get-SendConnector | Set-SendConnector -MaxMessageSize 50mb

clip_image012

Of indien je de naam weet kun je rechts streeks op de connector zelf zetten.

Set-SendConnector “Connector Naam” -MaxMessageSize 50mb

clip_image014

Ik had al de send connector op 50mb ingesteld dus vandaar dat ik deze melding krijg.

clip_image016

  • Via de Exchange Management Console

Organization Configuration -> Hub Transport -> Send Connectors -> select appropriate connector -> Properties -> General tab -> Maximum Message Size (KB) field you need to set.

clip_image018

Opmerking:
Als je een Edge Server hebt: Controlleer dan of de send connector wel de juiste message size heeft naar de Hub Transport Server.

2.2 Receive Connector

Voor binnen komende mail.

Je kunt de configuratie het beste bekijken met het volgende powershell commando:

Get-ReceiveConnector | fl Identity, *max*clip_image020

Voer het volgende commando uit en de receive connectors staan op 50MB.

Set-ReceiveConnector “Connector Naam” -MaxMessageSize 50mb

clip_image022

Controlleer de instelling

clip_image024

Via de Exchange Management Console

Server Configuration -> Hub Transport -> select a HT server -> Receive Connectors -> select a connector -> Properties -> General tab -> Maximum Message Size (KB)

clip_image026

Opmerking: De default connector staat standaard op 10mb. Dit moet je natuurlijk aanpassen bij de installatie.

2.3 Active Directory SiteLink Limit

Sinds SP1 van Exchange 2007 heb de mogelijke op mail limieten in te stellen op AD Site links.

Standaard staat de MaxMessageSize van AD Site Links op Unlimited.

Powershell commando om instellingen op te vragen:

Get-ADSiteLink | FL Name, Sites, *Max*

clip_image028

Je kunt dit aanpassen met het volgende commando

Set-ADSiteLink “DEFAULTIPSITELINK” -MaxMessageSize 50Mb
clip_image030

Controlleer of dat de instelling goed is doorgevoerd.

Get-ADSiteLink | FL Name, Sites, *Max*

clip_image032

2.4 Routing Group Connector Limieten

Als je met omgeving hebt waar aan het upgraden bent van Exchange 2003 naar Exchange 2007 dan kun je hier tussen ook limieten instellen. Dit heeft alleen effect op mailtjes die tussen Exchange 2003 & Exchange 2007 heen en weer gaan. Standaard staat deze op ongelimiteerd dus hoe je deze niet aan te passen.

Ik heb hier geen voorbeelden van maar wel de commando’s:

Get-RoutingGroupConnector | FL Name, *Max*

Set-RoutingGroupConnector “CONNECTOR NAME” -MaxMessageSize ??Mb

3. Server Limits

Je kunt ook op de verschillende transport rules kun je ook nog limieten instellen als bijvoorbeeld een bijlage 50mb of groter is.

Hier ga ik verder niet op in.

4. User Level

Gebruikers kunnen ook een eigen mail limieten hebben maar de vraag is of je dat welt wilt:

Check met het volgende commando:

Get-Mailbox “User Name” | Format-Table Name, *Max*

clip_image034

Limit instellen op de gebruiker

Set-Mailbox “User Name” -MaxSendSize 40mb -MaxReceiveSize 40mb

clip_image036

Controleer het maar weer.

clip_image038

Exchange Management Console

Recipients -> Mailbox -> select mailbox -> properties -> Mail Flow Settings tab -> Message Size Restrictions -> Set Sending Message Size & Receiving Message Size.

clip_image040

Opmerking: Je kunt beste de instelling op Global/Organisatie niveau beheren. Aangezien als de gebruiker meer mag versturen en ontvangen dan geldt het alleen voor intern.

Translate »