DCSIMG
Yagil Adar - Adar Consulting

Yagil Adar - Adar Consulting

Microsoft's products Infrastructure expert for EMEA and USA regions

Taking Windows 8 to the Extreme

How low can we go with Windows 8 hardware requirements?

Does Windows 8 really leaner and thinner than its predecessors?

As part of my work with SCCM and deployment projects, I have tested Win8 for the last 6 months and found that this OS provides several novelties, however a few questions are still open:

  • True or False - Windows 8 is really leaner and thinner than its predecessors
  • Hardware requirements - what is the minimum hardware configuration required for a decent productive office/business environment?
  • What is Windows 8 out of box driver support for old devices?
    i.e. network adapters, Wi-Fi, Bluetooth, Sound, display adapters etc.?
  • Cold boot speed - is it faster?

Now as Windows 8 Customer Preview Build 8250 is released these Q are put to the test and these are the results:

Test layout:

  • Install Windows 8 from the DVD
  • Installing "regular" apps (not designed for touch technology nor tiles format)
  • Installing Windows 8 touch and tile supporting apps

Apps started for the test:

  • Office 2010 - Word
  • Office 2010 - Excel
  • Office 2010 - Outlook connected to Exchange 2010 mailbox in cached mode
  • Internet explorer (two tabs including Flash content)
  • Google Earth
  • Skype
  • Windows Explorer
  • Task Manager
  • Forefront Endpoint Protection 2010
  • Windows Gadgets

Results:

Out of several hardware configurations (deferent types of CPU's, CPU's speed and RAM memory sizes)

I have found that 7 years old computer with the following CPU and memory configuration:

  • CPU: Intel T2400 at 1.00 GHz Note: CPU tested speed: 1GHz, max CPU speed is 1.83 GHz
  • RAM: 1 GB
  • Computer model is: IBM Laptop ThinkPad R60e

Provided a suitable performance for the office environment and includes full support for the R60e devices that includes: 1Gb NIC, Wi-Fi, Bluetooth, sound, display adapter including the Aero support (glass window display) and more.

Windows 8 Start window with all the installed apps

Windows 8 Start window

Windows 8 Desktop with all tested apps

Windows 8 - Desktop window

Note that even for a slow 1.00 GHz CPU only 30% utilization is required for all these apps

Although the 1GB RAM is loaded (about 90%) still the system almost did not use the disk Virtual Memory (disk utilization is insignificant or equal to 0%)

Task Manager window enlarged from original image above

Windows 8 - Task Manager window

 

Startup time

From turned off computer to logon screen including ThinkPad's welcome: 16 seconds!

Net boot time (excluding the ThinkPad's window): 10 seconds

 

Conclusions:

Windows 8 is better for the Business environment (and others) even than Windows 7 and provides extended life time to old computer hardware resulting a significant savings for the organization and that is before we even started to review the new features that included with Windows 8

For further info contact me:

Yagil Adar, CEO
BA, MCSE, MCTS, MCP
Adar Consulting
IT is our nature

19 Havazelet st.
Matan, Israel
phone: +972-3-9027890
mobile: +972-544-90-96-90
email:
yagil@adar.us
http://blogs.microsoft.co.il/blogs/yagil/
http://www.linkedin.com/in/yagiladar

לקחת את חלונות 8 לאקסטרים

 

 

והפעם כמיטב המסורת, כמה נמוך אפשר לרדת עם חלונות 8 ?

האם חלונות 8 אכן רזה יותר מגרסאות קודמות וצורכת פחות משאבים ?

במסגרת העבודה שלי עם חלונות 8 במהלך 6 החודשים האחרונים מצאתי כי מערכת הפעלה זו כוללת מספר חידושים מיוחדים אך עדיין נותרו מספר שאלות:

  1. האם דרישת החומרה צנועה יותר מהגרסאות הקודמות?
  2. מה היא דרישת החומרה המינימאלית המאפשרת תצורת עבודה פרודוקטיבית בסביבה משרדית \עסקית?
  3. האם מערכת Windows 8 תומכת (גם כאשר היצרן אינו תומך באופן רשמי) בדרברים ובציוד ישנים כגון התקני WIFI, Bluetooth, שמע, מתאם תצוגה ועוד?
  4. האם אכן קוצר זמן טעינת מערכת ההפעלה - זמן אתחול קר (מחשב כבוי) עד קבלת מסך עבודה?

 

כעת עם יציאת גרסת Customer Preview Windows 8 Build 8250 נבחנו שאלות אלה והרי הממצאים

 

מתכונת הבדיקה:

התקנה מתוך ה DVD ללא כל תוספות

התקנת יישומים "רגילים" שאינם מותאמים לחלונות 8 (אינם מותאמים למסך מגע והאריחים)

התקנת יישומים התומכים במתכונת מסך מגע והאריחים

 

היישומים אשר הופעלו בעת הבדיקה :

  • Office 2010 - Word
  • Office 2010 - Excel
  • Office 2010 - Outlook connected to Exchange 2010 mailbox in cached mode
  • Internet explorer (two tabs including Flash content)
  • Google Earth
  • Skype
  • Windows Explorer
  • Task Manager
  • Forefront Endpoint Protection 2010
  • Windows Gadgets

תוצאות הבדיקה:

מתוך מגוון חומרות בתצורות שונות (סוגי מעבדים ונפחי זיכרון) נמצא כי מחשב בין 7 שנים  IBM ThinkPad R60e עם המעבד והזיכרון הבאים:

  • מעבד Intel T2400 במהירות של 1.00GHz (למעבד יכולת לעבוד גם מהר יותר)
  • זיכרון של 1.00GB

סיפק תוצאות טובות לסביבה משרדית ותמיכה מלאה ללא כל תוספת דריברים חיצונית עבור כל התקני המחשב WIFI BT שמע רשת ותצוגת מסך הכוללת גם את ממשק האירו (תצוגת חלונות הזכוכית) ועוד

מסך הכניסה כולל כל היישומים המותקנים

Windows 8 - Start window

מסך ה Desktop

Windows 8 - Desktop window

שימו לב כי גם למעבד החלש במהירות של 1.00GHz נדרשו רק 30% בלבד להפעלת כל היישומים

זיכרון הRAM  עם 1GB היה עמוס מאוד (ניצול של 90%) אך עדיין אפשר עבודה מהירה עם פעילות זיכרון VM זניחה בדיסק ברוב הזמן פעילות הדיסק קרובה או שווה ל 0%

מסך task manager  מוגדל

Windows 8 - Task Manager window

 

מהירות אתחול מערכת

נצפה במחשב זה זמן אתחול מעולה: ממחשב כבוי עד קבלת מסך כניסה נדרשו כ 16שניות !!! בלבד כולל שלב הBIOS

זמן טעינת מערכת ההפעלה נטו הוא 10 שניות !!!

 

מסקנות מתבקשות:

חלונות 8 טובה יותר לסביבה העסקית הנוכחית אף מחלונות 7 !! ומעניקה זמן חיים נוסף לחומרות ישנות ובהתאמה לחיסכון כספי ניכר לאירגונים, וזאת עוד לפני שנוסיף את כל התכונות החדשות של חלונות 8.

 

למידע נוסף פנו אלי:

Yagil Adar, CEO
BA, MCSE, MCTS, MCP
Adar Consulting
IT is our nature

19 Havazelet st.
Matan, Israel
phone: +972-3-9027890
mobile: +972-544-90-96-90
email:
yagil@adar.us
blog:http://blogs.microsoft.co.il/blogs/yagil/
web site: www.adar.us

 

 

 

 

 

 

חלונות 7 - פריסה באופן אוטומטי מלא

 

לאחרונה סיימתי פרויקט גדול מאד ומאתגר ביותר של פריסת חלונות 7 עבור אחד מגדולי יצרני הגז הנוזלי בעולם

התהליך היה מורכב וכלל את הדרישות הבאות:

אימג' יחיד, יש צורך בתמיכה של כ 17 סוגי חומרות שנות (שולחנים וניידים)


זהה את חומרת המחשב (שולחני או נייד) ושים את האובייקט של המחשב ב OU המתאים - DT או LT בהתאמה

שנה את מיקום מחיצת הפרופיל הנודד של המשתמשים במחשב המשודרג למחיצה חדשה

תהליך יחיד אשר תומך בכל התסריטים הבאים:
שדרוג מחשב קיים
התקנת מחשב מחדש (פורמט למחשב) כאשר שם המחשב כבר מוגדר ב AD
התקנת מחשב חדש לחלוטין (דיסק ללא פורמט) כאשר המחשב אינו מוכר ל AD

צריך לשמור ולהעביר נתוני משתמשים על פי מפתח תאריך שימוש
(באופן דינמי וייחודי לכל מחשב)

יש צורך להסיר קיצורי דרך ואיקונים ישנים מהמחשב

אם חומרת המחשב ישנה, אזי אל תריץ USMT

התקן דריברים של דיסק קשיח במחשבים מיוחדים הדורשים זאת

האתגר
הכל חייב לעבוד באופן אוטומטי מלא

אף מוצר בתצורתו המקורית אינו מציע פתרון אוטומטי מלא לכל דרישות הלקוח
 SCCM, MDT, WDS

הפתרון

הפתרון מצריך תהליך המספק פתרון אוטומטי אמיתי ומלא לכל הפעולות אשר יש לבצע ואשר חלקן בוצעו באופן ידני

הפתרון מגדיר תהליך אשר משתמש במרכיבי התוכנה הבאים:

Task Sequence MOD, SCCM 2007 SP2 R2 , MDT 2010, WDS and PXE

פתרון זה אפשר ללקוח להגיע למטרה תוך צמצום גדול בזמן ביצוע הפרויקט ובעלות מופחתת.



המידע הנתון מתייחס למערכות ההפעלה הבאות

Windows 7 (64bit), Window 7 (32bit), Windows XP Pro SP3 (32bit)



להלן פירוט התהליך
הכנות
פריסה Task Sequence
פעולות לאחר הפריסה

Preparations

Run the following per user

  • Run user level custom backup
  • Run Computer level custom backup

 

Customized Task Sequence Steps

•1.       Uninstall the Anti-virus program

•2.       Remove old application icons and shortcuts

•3.       Capture User State with USMT with custom XML files and WMI model exceptions

  • 4. Restart computer

•5.       Run computer level custom backup program

  • 6. Boot and start Windows PE session
  • 7. Deploy Reference Computer WIM file
  • 8. Apply Windows customized settings

•9.       Check if new computer hardware is Desktop or Laptop and apply respective Network settings

  • 10. Apply drivers

•11.   Apply special hard disk driver for a specific Laptop

  • 12. Install SCCM Client

•13.   Move existing computer account Desktop or Laptop to respective new OU

•14.   Wait for AD Sync

  • 15. Restart computer
  • 16. Install software updates

•17.   Restore User State (USMT) with custom XML files and WMI model exceptions

•18.   Apply software for a specific hardware model

•19.   Change the WS users Profile path to New User Path

•20.   Run GPUpdate to apply all Policies

•21.   Run Plug and Play discovery

•22.   Install Anti-Virus program

 

Post deployment steps

  • Run restore - retrieves all data saved on the backup server to the workstation's %SystemDrive%\RestoredData\ directory
  • Run user's restore code in per logon user to restore user's network printers' set default printer configure outlook and run it for the first time

•1.1        Preparations

•1.1.1          Custom user backup

 

This step executes the following

  • backup the current logged on user's
  • o Back user's files in delta mode settings
  • save data locally ­- save data on local per user

 

Run this application as a SCCM Package

  • SCCM Package name: BackupUserInDeltaMode
  • Program name: BackupUserInDeltaMode
  • run in silent mode with no notification

  • The command is a compiled EXE file
  • Source code type: SMS Installer
  • Source file name: BackupUserInDeltaMode.ipf
  • Special note: this command must run with Admin privileges with ‘Run as' settings selected and configured

 

•1.1.2          Backup local data to a network location

 

This step executes the following

  • run a customized data backup to a network share
  • The customize backup is saving the following data:
  • o User level
  • o WS level - not related to users
    - c:\general-dir
    - creates user list and copy it to C:\ _SMSTSequence
    (to be used later to change user's profile path)
    - Other local directories
  • Backup target:<Backup-Server>\<target path>\<ComputerName>\
    Target server depends on Workstation's Active Directory Site membership for all relevant global sites

Run this application as a SCCM Package

  • SCCM Package name: BackupLocalDataInDeltaMode
  • Program name: BackupLocalDataInDeltaMode
  • run in silent mode with no notification

  • The command is a compiled EXE file
  • File name: Backup users data.EXE

 

  • Source code type: SMS Installer
  • Source file name: BackupLocalDataInDeltaMode.ipf
  • Special note: this command must run with Admin privileges with ‘Run as' settings selected and configured

•1.2        Detailed Customized Task Sequence steps

 

•1.2.1          Uninstall the Anti-virus

This is an additional command to the original Task Sequence

This step executes the following:

  • Uninstall Anti-Virus
  • TS step type: Command line
  • The command is a batch file
  • File location: MDT2010 Script directory \MDT Files\Scripts
  • File name: RemoveAV.bat
  • Timeout: 6 minutes

 

 

•1.2.2          Remove old application icons and shortcuts

This is an additional command to the original Task Sequence

 

This step executes the following:

  • Remove old Program Files net short cuts and other old desktop icons
  • Remove ALLUSERS common icons

 

  • TS step type: Command line
  • The command is a compiled EXE file
  • File name: Remove shortcuts.EXE

 

  • Source code type:SMS Installer
  • Source file name: Remove shortcuts.ipf

 

 

•1.2.3          Capture User State with USMT with WMI model exceptions

This is an additional command to the original Task Sequence

This step executes the following (in high level):

  • Capture user state with USMT
  • Skip this stage if it is HP D510 or D530

 

Detailed steps:

  • Capture user state with USMT SCCM package with modified USMT XML


  • Skip this stage if it is HP D510 or D530 by identifying the computer model type via a WMI Query:

    select * from Win32_ComputerSystem WHERE model <>"HP D510 SFF"
    select * from Win32_ComputerSystem WHERE model <> "HP D530 SFF"


•1.2.4          Restart computer

This step executes the following:

  • Restart the Workstation

This step use standard TS computer reboot command to provide the next step (backup) a clean user environment with no user's locked file

 

 

•1.2.5          Run computer level custom backup program

This is an additional command to the original Task Sequence

This is done with special developed application

This step executes the following

  • run a customized data backup to a network share
  • The customize backup is saving the following data:
  • o User level
  • o WS level - not related to users
    - c:\general-dir
    - creates user list and copy it to C:\ _SMSTSequence
    (to be used later to change user's profile path)
    - Other local directories
  • Backup target:<Backup-Server>\<target path>\<ComputerName>\
    Target server depends on Workstation's Active Directory Site membership for all relevant global sites

Run this application as a SCCM Package

  • SCCM Package name: BackupLocalDataInDeltaMode
  • Program name: BackupLocalDataInDeltaMode
  • run in silent mode with no notification

  • The command is a compiled EXE file
  • File name: Backup users data.EXE

 

  • Source code type: SMS Installer
  • Source file name: BackupLocalDataInDeltaMode.ipf
  • Special note: this command must run with Admin privileges with ‘Run as' settings selected and configured

 

•1.2.6          Boot and start Windows PE session

This step executes the following:

  • Boot the workstation to Windows PE OS session with customized background and all NIC drivers
  • TS type: Restart Computer

 

•1.2.7          Deploy Reference Computer WIM file

This step executes the following:

  • Deploy the reference Windows OS WIM image
  • TS step type: Apply Operating System Image

 

 

•1.2.8          Apply Windows customized settings

This step executes the following:

  • Apply customized NLNG windows setting
  • TS step type: Apply Windows Settings

 

  • In User Name box: type Corp User
  • In Organization name box type Corp Name
  • In product key box type the license key (or blank for KMS activation)
  • Select "Enable the account......."
  • Type the local admin password
  • Select Time zone i.e: (UTC) Dublin, London

 

•1.2.9          Check if new computer hardware is Desktop or Laptop and apply respective Network settings

This is an additional command to the original Task Sequence

This step executes the following:

  • Place a nonexistent computer account in the domain in a pre-designated OU
    according to hardware type (Desktop or Laptop)
    (for bare metal - new computer scenario)

  • TS step type: Apply Network Settings
  • Desktop computer will be placed in the following OU
    LDAP://OU=Desktop,OU=Windows 7,OU=Corp Computer Directory,DC=CorpName,DC=com
  • Lapktop computer will be placed in following OU
    LDAP://OU=Laptop,OU=Windows 7,OU=Corp Computer Directory,DC=CorpName,DC=com
  • Select Join to Domain
  • In Domain box type CorpName.Com
  • Select the Domain OU required
  • In Account box type CorpName\adminUser type the user password and confirm password

 

•1.2.10      Apply drivers

This step executes the following:

  • Installs hardware drivers
  • TS step type: Auto Apply Drivers

Select Install only the best.....

Select Consider drivers from all categories

 

 

•1.2.11      Apply special hard disk driver for a specific Laptop

  This is an additional command to the original Task Sequence

This step executes the following:

  • Installs specific mass storage driver for the HP laptop computer
  • TS step type: Apply Driver Package

 

Run this step if it is HP 2530p - identifying the computer model type via a WMI Query:

select * from Win32_ComputerSystem WHERE model ="HP 2530p"

 

  • Select in Driver Package All HP drivers
  • Mark Select the mass storage driver......
  • Select in Driver box the driver Intel ESB2 SATA AHCI Controller
  • Select in Model box Intel ICH9M-E/M SATA AHCI controller

 

 

•1.2.12      Install SCCM Client

This step executes the following:

  • Installs the SCCM Client
  • TS step type: Setup Windows and ConfigMgr

 

•1.2.13      Move existing computer account Desktop or Laptop to respective new OU

  This is an additional command to the original Task Sequence

This step executes the following:

  • Place a existing computer account in the domain to a pre-designated OU
    (for a computer refresh scenario)

  • Desktop computer will be placed in the following OU
    LDAP://OU=Desktop,OU=Software By Network XP,OU=Computer Directory,DC=nlng,DC=net
  • Lapktop computer will be placed in following OU
    LDAP://OU=Laptops,OU=Software By Network XP,OU=Computer Directory,DC=nlng,DC=net

  • Run this command if it is a Desktop
    - identifying the computer type via evaluating the Task sequence variable: if DESKTOP
  • Run this command if it is a Laptop
    - identifying the computer type via evaluating the Task sequence variable: if LAPTOP

 

  • TS step type: Command line
  • The command is a VBS file
  • File location: \MDT Files\Scripts
  • File name for Desktop command: Find and Move Desktop To-OU.vbs
  • File name for Laptop command: Find and Move Laptops To-OU.vbs

 

•1.2.14      Wait for AD Sync

This is an additional command to the original Task Sequence

This step executes the following:

  • Wait 600 sec for AD Object move sync to all DC's
  • TS step type: Command line
  • The command is a compiled EXE file
  • File location: \MDT Files\Scripts
  • File name: wait.EXE
  • Switches used: 600

 

•1.2.15      Restart computer

 

This step executes the following:

  • Restart the Workstation

The Workstation Boots with the Default Operating System installed on the hard disk

 

 

•1.2.16      Install software updates

 

This step executes the following:

  • Installs all mandatory software updates published by the WSUS module on the SCCM system
  • TS step type: Install Software Updates
  • You need to configure the WSUS section on the SCCM system, all published mandatory updates will be installed automatically in this step during the OS deployment

 

•1.2.17      Restore User State with USMT with WMI model exceptions

This is an additional command to the original Task Sequence

This step executes the following (in high level):

  • Restore user state with USMT
  • Skip this stage if it is HP D510 or D530

 

Detailed steps:

  • Restore user state with USMT SCCM package with modified USMT XML

 

  • Skip this stage if it is HP D510 or D530 by identifying the computer model type via a WMI Query:

    select * from Win32_ComputerSystem WHERE model <>"HP D510 SFF"
    select * from Win32_ComputerSystem WHERE model <> "HP D530 SFF"

•1.2.18      Apply software for a specific hardware model

This is an additional command to the original Task Sequence

 

This step executes the following:

  • Installs required application by computer model

 

  • The applications configured as SCCM packages and are grouped in a folder
  • TS step type: Group

 

Run a group and its steps by identifying the computer model type via a WMI Query:

Sample WMI query for HP 2510p:

select * from Win32_ComputerSystem WHERE model = "HP 2510p"

 

 

•1.2.19      Change the WS users Profile path to new user Path

This is an additional command to the original Task Sequence

This step executes the following:

  • Change the user's roaming profile path from Profile to NewProfile i.e ProfileV2

 

Application Algorithm:

  • application read the users list from

C:\ _SMSTaskSequence\WDPackage\Scripts\UsersListToMove.txt

  • Do the following for the users in the list
  • o Check via LDAP query for the current profile settings
  • o If Profile = 0 -skip this section
    if Profile = 1 -check if it is old or new
  • § If profile =new, skip
  • § If profile =old, do the following
  • Create a new directory : NewProfile in the users directory
    \\<Server>\<Usersvrxxxx$>\<UserName>
  • Change profile path to
    \\<Server>\<Usersvrxxxx$>\<UserName>\NewProfile

 

  • TS step type: Command line
  • The command is a compiled EXE file
  • File location: \MDT Files\Scripts
  • File name: RenameNetworkUserProfileDirectory.EXE

 

  • Source code SMS Installer
  • Source file name: RenameNetworkUserProfileDirectory.ipf

 

•1.2.20       Run GPUpdate to apply all Policies

This is an additional command to the original Task Sequence

This step executes the following:

  • Update the Corporate group policies on the WS
  • TS step type: Command line
  • The command line: GPUpdate /force

 

•1.2.21      Run Plug and Play discovery

This is an additional command to the original Task Sequence

This command does not apply to Windows 7 and is required only for Windows XP OS deployment

This step executes the following:

  • Rerun the plug & play discovery to install all required drivers
  • TS step type: Command line
  • The command line: RunDll32.exe Syssetup.dll,UpdatePnpDeviceDrivers

 

 

•1.2.22      Install Anti-Virus program

This is an additional command to the original Task Sequence

 

This step executes the following:

  • Install the Antivirus program

 

  • TS step type: Command line
  • The command is a batch file
  • File location: \MDT Files\Scripts
  • File name: InstallAV.bat

 

•1.3        Post Deployment steps

 

•1.3.1          Local data restore

 

This step executes the following

  • The customize restore application retrieves all data saved on the following path:
    <Backup-Server>\Data$\<ComputerName>\
  • Data restored to the following path: %SystemDrive%\RestoredData\

 

Restore server depends on Workstation's Active Directory Site membership

Run this application as a run once mandatory SCCM Package

  • SCCM Package name: Restore Computer data
  • Program name: Restore V6.003 Comp Data to local disk
  • To run in silent mode add the switch /s

  • Source code type: SMS Installer
  • Source file name: V6.003 Restore data.ipf

למידע נוסף הינכם מוזמנים ליצור איתי קשר במייל

Yagil adar
Yagil@adar.us
web site: www.adar.us

 

 

Smart Windows 7 Deployment with True Zero Touch Installation

Recently I have completed a very large and challenging Windows deployment project for one of the world's largest Liquid Natural Gas producer.
The project target: to enhance user's experience, lower Desktop's TCO and increase the IT's SLA.

The process included the following requirements:

  • A single image that supports 17 hardware types (Desktops and Laptops)
  • Identify computer hardware (Desktop and Laptop) and place computer object in Desktop OU or Laptop OU respectively
  • Change the Active's Directory user's roaming profile path to a new path
  • A single fully automated process that supports the following scenarios:
    • Upgrade current Operating System with the new OS (in-place upgrade)
    • Deploy OS to a new computer - computer account is not in Active Directory
    • Deploy OS on a computer - existing computer account in Active Directory
  • Migrate a selected user list (dynamic per computer - via profile time stamp)
  • Remove old Icons and shortcuts from user's desktop
  • If it is an old computer hardware - skip USMT data capture and restore
  • Install Applications by hardware model
  • And a few other

The challenge:

  • Everything must work in true full automatic mode
  • No out of box deployment solutions (SCCM, MDT and WDS) products provides a full automatic True Zero Touch Installation for the whole process

The solution

The solution is a complete automatic process - True Zero Touch Installation (TZTI) process that includes all the elements, tasks, and commands that previously some of them had to be run manually.

TZTI process procedure drives SCCM 2007 SP2 R2, MDT 2010, WDS and PXE software products and a modified Task Sequence.

This smart solution enabled the customer to meet its project targets and significantly lower the project's cost.

The info refers to the following Operating Systems:

Windows 7 (64bit), Window 7 (32bit), Windows XP Pro SP3 (32bit) 


Following is the full deployment process

High Level Deployment steps

Main steps for running True Zero Touch Installation deployment process

Bold Italic commands are additional commands or modified commands to enhance original process to True Zero Touch Installation (TZTI) process

Preparations

  • Run user level custom backup
    Run Computer level custom backup

Customized Task Sequence Steps

1.       Uninstall the Anti-virus program
2.       Remove old application icons and shortcuts
3.       Capture User State with USMT with custom XML files with WMI model exceptions
4.       Restart computer
5.       Run computer level custom backup program
6.       Boot and start Windows PE session
7.       Deploy Reference Computer WIM file
8.       Apply Windows customized settings
9.       Check if new computer hardware is Desktop or Laptop and apply respective Network settings
10.     Apply drivers
11.     Apply special hard disk driver for a specific Laptop
12.     Install SCCM Client
13.     Move existing computer account Desktop or Laptop to respective new OU
14.     Wait for AD Sync
15.     Restart computer
16.     Install software updates
17.     Restore User State (USMT) with custom XML files with WMI model exceptions
18.     Apply software for a specific hardware model
19.     Change the WS users Profile path to New User Path
20.     Run GPUpdate to apply all Policies
21.     Run Plug and Play discovery
22.     Install Anti-Virus program

Detailed info for the deployment process

1.1      Preparations

1.1.1    Custom user backup

This step executes the following

  • Backup the current logged on user's data
  • Back user's files in delta mode settings
  • Save data locally ­- save data on local per user

Run this application as a SCCM Package

  • SCCM Package name: BackupUserInDeltaMode
  • Program name: BackupUserInDeltaMode
  • run in silent mode with no notification
  • The command is a compiled EXE file
  • Source code type: SMS Installer
  • Source file name: BackupUserInDeltaMode.ipf
  • Special note: this command must run with Admin privileges with ‘Run as' settings selected and configured

 1.1.2    Backup local data to a network location

This step executes the following

  • run a customized backup app to a network share
  • The customize backup is saving the following data:
  • User level
  • WS level - not related to users
    - c:\general-dir
    - creates user list and copy it to C:\ _SMSTSequence
    (to be used later to change user's profile path)
    - Other local directories
  • Backup target:<Backup-Server>\<target path>\<ComputerName>\
    Target server depends on Workstation's Active Directory Site membership for all relevant global sites

Run this application as a SCCM Package

  • SCCM Package name: BackupLocalDataInDeltaMode
  • Program name: BackupLocalDataInDeltaMode
  • run in silent mode with no notification
  • The command is a compiled EXE file
  • File name: Backup users data.EXE
  • Source code type: SMS Installer
  • Source file name: BackupLocalDataInDeltaMode.ipf
  • Special note: this command must run with Admin privileges with ‘Run as' settings selected and configured

1.2      Detailed Customized Task Sequence steps

1.2.1    Uninstall the Anti-virus
This is an additional command to the original Task Sequence

This step executes the following:

  • Uninstall Anti-Virus
  • TS step type: Command line
  • The command is a batch file
  • File location: MDT2010 Script directory \MDT Files\Scripts
  • File name: RemoveAV.bat
  • Timeout: 6 minutes

1.2.2    Remove old application icons and shortcuts
This is an additional command to the original Task Sequence

This step executes the following:

  • Remove old Program Files net short cuts and other old desktop icons
  • Remove ALLUSERS common icons
  • TS step type: Command line
  • The command is a compiled EXE file
  • File name: Remove shortcuts.EXE
  • Source code type:SMS Installer
  • Source file name: Remove shortcuts.ipf

1.2.3    Capture User State with USMT with WMI model exceptions
This is an additional command to the original Task Sequence

This step executes the following (in high level):

  • Capture user state with USMT
  • Skip this stage if it is HP D510 or D530

Detailed steps:

  • Capture user state with USMT SCCM package with modified USMT XML 
  • Skip this stage if it is HP D510 or D530 by identifying the computer model type via a WMI Query:

    select * from Win32_ComputerSystem WHERE model <>"HP D510 SFF"
    select * from Win32_ComputerSystem WHERE model <> "HP D530 SFF"

1.2.4    Restart computer

This step executes the following:

  • Restart the Workstation

This step use standard TS computer reboot command to provide the next step (backup) a clean user environment with no user's locked file

1.2.5    Run computer level custom backup program
This is an additional command to the original Task Sequence

This step executes the following

  • run a customized data backup to a network share
  • The customize backup is saving the following data:
  • o User level
  • o WS level - not related to users
    - c:\general-dir
    - creates user list and copy it to C:\ _SMSTSequence
    (to be used later to change user's profile path)
    - Other local directories
  • Backup target:<Backup-Server>\<target path>\<ComputerName>\
    Target server depends on Workstation's Active Directory Site membership for all relevant global sites

Run this application as a SCCM Package

  • SCCM Package name: BackupLocalDataInDeltaMode
  • Program name: BackupLocalDataInDeltaMode
  • run in silent mode with no notification
  • The command is a compiled EXE file
  • File name: Backup users data.EXE
  • Source code type: SMS Installer
  • Source file name: BackupLocalDataInDeltaMode.ipf
  • Special note: this command must run with Admin privileges with ‘Run as' settings selected and configured
     

1.2.6    Boot and start Windows PE session

This step executes the following:

  • Boot the workstation to Windows PE OS session with customized background and all NIC drivers
  • TS type: Restart Computer

1.2.7    Deploy Reference Computer WIM file

This step executes the following:

  • Deploy the reference Windows OS WIM image
  • TS step type: Apply Operating System Image

1.2.8    Apply Windows customized settings

This step executes the following:

  • Apply customized Corp windows setting
  • TS step type: Apply Windows Settings
  • In User Name box: type Corp User
  • In Organization name box type Corp Name
  • In product key box type the license key (or blank for KMS activation)
  • Select "Enable the account......."
  • Type the local admin password
  • Select Time zone i.e: (UTC) Dublin, London

 1.2.9    Check if new computer hardware is Desktop or Laptop and apply respective Network settings
This is an additional command to the original Task Sequence

This step executes the following:

  • Place a nonexistent computer account in the domain in a pre-designated OU
    according to hardware type (Desktop or Laptop)
    (for bare metal - new computer scenario)
  • TS step type: Apply Network Settings
  • Desktop computer will be placed in the following OU
    LDAP://OU=Desktop,OU=Windows 7,OU=Corp Computer Directory,DC=CorpName,DC=com
  • Lapktop computer will be placed in following OU
    LDAP://OU=Laptop,OU=Windows 7,OU=Corp Computer Directory,DC=CorpName,DC=com
  • Select Join to Domain
  • In Domain box type CorpName.Com
  • Select the Domain OU required
  • In Account box type CorpName\adminUser type the user password and confirm password

1.2.10 Apply drivers

This step executes the following:

  • Installs hardware drivers
  • TS step type: Auto Apply Drivers

Select Install only the best

Select Consider drivers from all categories

1.2.11 Apply special hard disk driver for a specific Laptop
This is an additional command to the original Task Sequence

This step executes the following:

  • Installs specific mass storage driver for the HP laptop computer
  • TS step type: Apply Driver Package

 Run this step if it is HP 2530p - identifying the computer model type via a WMI Query: select * from Win32_ComputerSystem WHERE model ="HP 2530p" 

  • Select in Driver Package All HP drivers
  • Mark Select the mass storage driver......
  • Select in Driver box the driver Intel ESB2 SATA AHCI Controller
  • Select in Model box Intel ICH9M-E/M SATA AHCI controller

1.2.12 Install SCCM Client

This step executes the following:

  • Installs the SCCM Client
  • TS step type: Setup Windows and ConfigMgr

1.2.13 Move existing computer account Desktop or Laptop to respective new OU
This is an additional command to the original Task Sequence

This step executes the following:

  • Place a existing computer account in the domain to a pre-designated OU
    (for a computer refresh scenario)
  • Desktop computer will be placed in the following OU
    LDAP://OU=Desktop,OU=Computer,DC=corp,DC=net
  • Lapktop computer will be placed in following OU
    LDAP://OU=Laptop,OU=Computer,DC=corp,DC=net
  • Run this command if it is a Desktop
    - identifying the computer type via evaluating the Task sequence variable: if DESKTOP
  • Run this command if it is a Laptop
    - identifying the computer type via evaluating the Task sequence variable: if LAPTOP
  • TS step type: Command line
  • The command is a VBS file
  • File location: \MDT Files\Scripts
  • File name for Desktop command: Find and Move Desktop To-OU.vbs
  • File name for Laptop command: Find and Move Laptops To-OU.vbs

1.2.14  Wait for AD Sync
This is an additional command to the original Task Sequence

This step executes the following:

  • Wait 600 sec for AD Object move sync to all DC's
  • TS step type: Command line
  • The command is a compiled EXE file
  • File location: \MDT Files\Scripts
  • File name: wait.EXE
  • Switches used: 600

1.2.15 Restart computer

This step executes the following:

  • Restart the Workstation

The Workstation Boots with the Default Operating System installed on the hard disk

1.2.16 Install software updates

This step executes the following:

  • Installs all mandatory software updates published by the WSUS module on the SCCM system
  • TS step type: Install Software Updates
  • You need to configure the WSUS section on the SCCM system, all published mandatory updates will be installed automatically in this step during the OS deployment

1.2.17 Restore User State with USMT with WMI model exceptions
This is an additional command to the original Task Sequence

This step executes the following (in high level):

  • Restore user state with USMT
  • Skip this stage if it is HP D510 or D530

Detailed steps:

  • Restore user state with USMT SCCM package with modified USMT XML 
  • Skip this stage if it is HP D510 or D530 by identifying the computer model type via a WMI Query:

    select * from Win32_ComputerSystem WHERE model <>"HP D510 SFF"
    select * from Win32_ComputerSystem WHERE model <> "HP D530 SFF"

1.2.18 Apply software for a specific hardware model
This is an additional command to the original Task Sequence

This step executes the following:

  • Installs required application by computer model
  • The applications configured as SCCM packages and are grouped in a folder
  • TS step type: Group

Sample WMI query for HP 2510p: select * from Win32_ComputerSystem WHERE model = "HP 2510p"

1.2.19 Change the WS users Profile path to new user Path
This is an additional command to the original Task Sequence

This step executes the following:

  • Change the user's roaming profile path from Profile to NewProfile i.e ProfileV2

 Application Algorithm:

  • application read the users list from

C:\ _SMSTaskSequence\WDPackage\Scripts\UsersListToMove.txt

  • Create a new directory : NewProfile in the users directory
    \\<Server>\<Usersvrxxxx$>\<UserName>
  • Change profile path to
    \\<Server>\<Usersvrxxxx$>\<UserName>\NewProfile
  • TS step type: Command line
  • The command is a compiled EXE file
  • File location: \MDT Files\Scripts
  • File name: RenameNetworkUserProfileDirectory.EXE
  • Source code SMS Installer
  • Source file name: RenameNetworkUserProfileDirectory.ipf

1.2.20 Run GPUpdate to apply all Policies
This is an additional command to the original Task Sequence

This step executes the following:

  • Update the Corporate group policies on the WS
  • TS step type: Command line
  • The command line: GPUpdate /force

 1.2.21 Run Plug and Play discovery
This is an additional command to the original Task Sequence

This command does not apply to Windows 7 and is required only for Windows XP OS deployment

This step executes the following:

  • Rerun the plug & play discovery to install all required drivers
  • TS step type: Command line
  • The command line: RunDll32.exe Syssetup.dll,UpdatePnpDeviceDrivers

 1.2.22 Install Anti-Virus program
This is an additional command to the original Task Sequence

This step executes the following:

  • Install the Antivirus program
  • TS step type: Command line
  • The command is a batch file
  • File location: \MDT Files\Scripts
  • File name: InstallAV.bat 

Many thanks to Oluyomi Alarape from Microsft corp. for his singnificant contribution in the overall project and design 

If you need more info about this post or SCCM OSD Deployment, please contact me via mail

Yagil Adar

email: yagil@adar.us
web site: www.adar.us


 

System Center Ops Man (SCOM) 2007 R2 is RTM

גרסת ההתנסות SCOM 2007 R2 (build 7221) זמינה להורדה מכאןזמינות הגרסה המלאה לציבור תחל ב יולי 1 2009 דרך ערוצי ההפצה המקובלים כגון MVLSבנוסף למסמכי המוצר המעודכנים הכוללים את סקירת המוצר ומה חדש פורסמו מספר חדשים הכוללים את אלה:  

בימים הקרובים הגירסה תשוחרר גם ל TechNet Online virtual lab להתנסות עצמאית במגוון תסריטים

חומר נוסף יפורסם בקרוב

יגיל

 

האם Windows 7 באמת טובה יותר מ Windows XP ?

 

 

האם חלונות 7 באמת טובה יותר מ XP ?

כחלק מפעילות Adar Consulting  אנו מפתחים מערכת מחשב אינטגרטיבית לרכב הכולל יכולות רבות בתחומי בטיחות ,אבטחה, איתור, אינפוטינמנט (מוזיקה, סרטים, ניווט, טלפון, אינטרנט)  ועוד, הפועלים בו זמנית ובמשולב.

במסגרת הפיתוח של המערכת וריבוי היישומים ומורכבותם הכולל גם עיבוד נתונים מ 4 מצלמות, מסך מגע, ראיית לילה ומספר רב של חישנים, יציאות למספר מסכים ועוד, עלתה השאלה:
האם Windows 7  באמת טובה יותר ומספקת בסיס מתאים יותר לצרכי המערכת או שמה Windows XP המוכרת מספקת את הדרישות ?   

מאפייני היישומים ותפקידם חייבו חמרת מהירה יחסית ובהתאמה המעבדים הם מסדרת Intel E6000 והזיכרון הינו בנפח של 2GB כך שההשוואה לא תושפע מנתוני החומרה.

ICS

הוגדרו מספר דרישות אשר לא ניתן לפרסם את כולן אך אציג את אלה שניתן ורלוונטיות גם למשתמשים מן השורה:

  • יציבות גבוה
    בלי BSOD (בלי התרסקויות ומסכים כחולים)- על המערכת לעבוד ללא תקלות גם לאחר uptime של 1000 שעות
  • חזרה לתפקוד לאחר מצב standby
    על המערכת לשוב ממצב שינה standby ללא תקלות מול כל התקני החומרה כגון WIFI USB, BT, מצלמות, חישני תנועה ועוד
  • ניהול זיכרון יעיל ומניעת זליגת זיכרון
    על המערכת למנוע זליגת זיכרון, כולל ניהול זיכרון יעיל של חזרה ממצב משינה standby (רכב כבוי- זהה למצב במחשב נייד)
  • זמני אתחול וכיבוי מהירים
    כאשר המערכת כבויה לחלוטין - אפס צריכת מתח - זמן האתחול coldboot חייב להיות קצר וזמן כיבוי מלא shutdown חייב להיות קצר

תצורת הבדיקה:

  • למעט מערכת ההפעלה והדריברים, לא היה שינוי במרכיבים האחרים (חומרה, תוכנה)
  • הבדיקה התבצעה על מערכות 32 Bit Windows XP Pro SP3, Windows 7 RC build 7100
    בשלב זה לא נבדקה המערכת עם 64Bit - מידע על כך בהמשך
  • כל העדכונים החשובים הותקנו דרך Windows Update
  • המערכת מתבססת על מעגל אם אינטל מסדרת Mini-ITX + מספר התקני חומרה מתחברים ע"י מרכזיית USB 2 וחלקם ישירות למחבר ה USB במעגל האם: התקני זיכרון של Sandisk Cruser U3 2GB, מצלמות ועוד.

תמצית התוצאות:

יציבות וחזרה לתפקוד ממצב standby


הבדיקות

  • עבודה 5 ימים ברציפות בעומס מלא ללא BSOD כאשר משתמשים ביישומי well behaved
  • הדמיה של מצב עבודה אמיתי: כיבוי הרכב ומעבר למצב שינה standby וחזרה לעבודה בהדלקה (דומה למצב עם מחשב נייד) ובדיקת תפקוד

עבודה של 5 ימים ברציפות

מערכת הפעלה

תוצאת הבדיקות

הערות

Windows XP

תקין

 

Windows 7

תקין

 

 

מעבר לשינה standby וחזרה

מערכת הפעלה

תוצאת הבדיקות

הערות

Windows XP

לא תקין

חזרה ממצב שינה standby גורם באופן מתמיד ל BSOD

הודעת הכשל במסך הכחול מתייחסת לדריבר USBSCAN.SYS,

תיקונים - לא נמצא תיקון post SP3 שפתר הבעיה

Windows 7

תקין

 

סיכום יציבות - Windows 7 יציבה יותר

 

ניהול זיכרון יעיל ומניעת זליגת זיכרון

הבדיקות

  • כל היישומים המותקנים מופעלים - כולל Infotainment , מצלמות, מערכות אבטחה ועוד
    הבחינה: נפח זיכרון תחילי לאחר 30 דקות מאיתחול מלא, נפח זיכרון לאחר כ 72 שעות - בדיקה האם יש זליגת זיכרון כלפי מעלה (כל היישומים הינם well behaved )

ניהול זיכרון

מערכת הפעלה

זיכרון תחילי לאחר טעינת היישומים

זיכרון לאחר 72 שעות

הערות

Windows XP

750MB

788MB

קיימת זליגת זיכרון של 38MB ב72 שעות
שינוי של כ 5%

Windows 7

1100MB (1.1GB)

1114MB

קיימת זליגת זיכרון של 4MB ב72 שעות
שינוי של כ 0.36%

סיכום ניהול זיכרון - Windows 7 מנהל זיכרון טוב יותר

זמני אתחול וכיבוי מהירים

הבדיקות

  • זמן אתחול קר עד הפעלת היישומים במערכת וקבלת שמע (ללא מסך ה BIOS)
  • זמן כיבוי מלא

מערכת הפעלה

Cold boot
זמן (בשניות) לעליית המערכת כולל יישומים מרכזיים

Shutdown
זמן בשניות לירידת המערכת

הערות

Windows XP

160

36

 

Windows 7

55

16

 

סיכום זמני אתחול וכיבוי מלאים  - Windows 7 מהיר יותר

סיכום הבדיקות והשלב הבא

מתוך בדיקות אלה ואחרות, המסקנה היא:

כן,  Windows 7 טובה מ Windows XP בפרמטרים אלה שפורסמו ובנוספים ומניבה יתרונות בעלי ערך אשר מצדיקים מעבר למערכת הפעלה זו.
למידע נוסף ביחס לבדיקות ניתן לפנות אלי

השלב הבא: 
במסגרת הפיתוח של יישומים נוספים למערכת אנו בוחנים כעת האם גרסת 64Bit מתאימה יותר מגרסת 32Bit (וזאת עקב מגבלת הזיכרון  של 3.3GB המובנת בגרסת ה 32Bit)
מידע נוסף נשחרר בהמשך

Yagil Adar, CEO
BA, MCSE, MCP
Adar Consulting
IT is our nature

19 Havazelet st.
Matan, Israel
phone: +972-3-9027890
mobile: +972-544-90-96-90
email:
yagil@adar.us
http://blogs.microsoft.co.il/blogs/yagil/
http://www.linkedin.com/in/yagiladar

לקחת את חלונות 7 לאקסטרים

 

והפעם, כמה נמוך אפשר לרדת עם חלונות 7?

במסגרת העבודה שלי עם חלונות 7 במשך 8 החודשים האחרונים, מצאתי כי מערכת הפעלה זו טובה מויסטה ואף מ XP בהיבטים רבים.

במהלך העבודה עם לקוחות והתקנת גרסאות בדיקה באתרם, לקוח שלי ביקש לדעת מה הן דרישות המינימום של חומרה עבור חלונות 7 אשר תאפשר תפקוד תקין בסביבה משרדית.

בהתאמה ביצעתי מבחן לגלות מה הגבול התחתון אשר חלונות 7 RC 7100 יאפשר עבודה תקינה וכן יתמוך בחומרה ובדרברים של הציוד הנבחן.

נבחנו מספר תצורות חומרה והמפרט הנמוך ביותר אשר הפיק תוצאות טובות היה הבא:

  • מעגל אם אינטל בין 7 שנים !!! מדגם Intel D845GRG עם מתאם רשת, מתאם תצוגה ושמע המותקנים על מעגל האם
  • מעבד Pentium4 2GHz
  • זיכרון של 512MB

יישומים מותקנים:

  • אופיס 2007
  • Winamp
  • WinRAR
  • מספר גדג'טים
  • אנטי וירוס סימנטק גרסה 10

תוצאות:

•  חלונות 7 RC 7100 תומך בכל התקני החומרה של מחשב אינטל בין 7 שנים כולל תמיכה ברזולוציה של כ 1280X1024 ברמת צבעים של 32bit

•  חלונות 7 מתפקד מצויין עבור יישומי אופיס 2007 ואינטרנט עם זיכרון של 512MB בלבד ומעבד במהירות של 2GHz

מצורף צילום מסך של המערכת המותקנת והגדלה של ה Task Manager - שימו לב לצריכת הזיכרון המועטה (357MB) אל מול היישומים הפועלים -

W7 EXWin7-EX-web

Win7 EX task manager

Yagil Adar, CEO
BA, MCSE, MCP
Adar Consulting
IT is our nature

19 Havazelet st.
Matan, Israel
phone: +972-3-9027890
mobile: +972-544-90-96-90
email:
yagil@adar.us
http://blogs.microsoft.co.il/blogs/yagil/
http://www.linkedin.com/in/yagiladar