Jump to content

shahed26

Member
  • Posts

    461
  • Joined

  • Last visited

  • Donations

    $0.00 

Posts posted by shahed26

  1. thanks aviv00 for your fast reply, am talking about server 2008, and yes its x64.

    All i want is desktop experience and few other features to get installed when installin server 2008. I hate installing features after logon, or using the ServerManagerCmd.exe.

    Thanks

    edit: i used your untilted.xml from here

    untitled.xml

  2. type Untitled.xml

    btw use gimagex to mount the image [install.win] with write access and save it

    GL

    were shall i save ur Untitled.xml to in install.wim?

    edit:

    This is my xml

    <?xml version="1.0" encoding="utf-8"?>
    <unattend xmlns="urn:schemas-microsoft-com:unattend">
    <servicing>
    <package action="configure" permanence="permanent">
    <assemblyIdentity name="Microsoft-Windows-Foundation-Package" version="6.0.6001.18000" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="" />
    <selection name="DesktopExperience" state="true" />
    <selection name="BitLocker" state="true" />
    <selection name="BitLocker-RemoteAdminTool" state="true" />
    <selection name="NetFx3" state="true" />
    <selection name="QWAVE" state="true" />
    <selection name="WirelessNetworking" state="true" />
    </package>
    </servicing>
    <cpi:offlineImage cpi:source="wim:c:/users/shahed%20hussain/desktop/server2008/sources/install.wim#Windows Longhorn SERVERSTANDARD" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
    </unattend>

    used this xml in vmware, but server still does not install these features... :unsure:

  3. ok i add the file

    here the bat file i use to run it

    copycat it as u want

    type Untitled.xml

    start /w pkgmgr /o:E:\Work\WimMount;E:\Work\WimMount\Windows /n:Untitled.xml /l:log

    echo %ERRORLEVEL%

    btw use gimagex to mount the image [install.win] with write access and save it

    then u done go to vlite and make ur iso :)

    should be about 800mb and 2.7giga hdd space[use gimagex info to check]

    GL

    hi aviv00, is this the xml that i can use to install DesktopExperience unattendedly?

    I have trying to install DesktopExperience and few other stuffs via xml unattendedly but found no way to do it yet.

    Please help..

    Basically an trying to preinstall DesktopExperience and few other features unattendedly via xml, but had no luck yet..

    if u can please giude me through the right way..

    thanks

  4. This is my xml file (saved as unatted.xml, and is saved in dvd root/sources folder)

    <?xml version="1.0" encoding="utf-8"?>
    <unattend xmlns="urn:schemas-microsoft-com:unattend">
    <servicing>
    <package action="install">
    <assemblyIdentity name="Microsoft-Windows-Foundation-Package" version="6.0.6001.18000" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="" />
    <selection name="BitLocker" state="true" />
    <selection name="DesktopExperience" state="true" />
    <selection name="MicrosoftWindowsPowerShell" state="true" />
    <selection name="NetFx3" state="true" />
    <selection name="XPS-Viewer" state="true" />
    <selection name="Printing-Server-Role" state="true" />
    <selection name="Printing-InternetPrinting-Server" state="true" />
    <selection name="WirelessNetworking" state="true" />
    </package>
    </servicing>
    <settings pass="oobeSystem">
    <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <OOBE>
    <HideEULAPage>true</HideEULAPage>
    <NetworkLocation>Home</NetworkLocation>
    <SkipMachineOOBE>true</SkipMachineOOBE>
    <SkipUserOOBE>true</SkipUserOOBE>
    <ProtectYourPC>1</ProtectYourPC>
    </OOBE>
    <Themes>
    <CustomDefaultThemeFile>c:\windows\resources\themes\windows 7.theme</CustomDefaultThemeFile>
    <DefaultThemesOff>false</DefaultThemesOff>
    </Themes>
    </component>
    </settings>
    <settings pass="specialize">
    <component name="Security-Malware-Windows-Defender" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="NonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <DisableAntiSpyware>true</DisableAntiSpyware>
    </component>
    <component name="Security-Malware-Windows-Defender" processorArchitecture="wow64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="NonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <DisableAntiSpyware>true</DisableAntiSpyware>
    </component>
    <component name="Microsoft-Windows-IE-ESC" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <IEHardenAdmin>false</IEHardenAdmin>
    <IEHardenUser>false</IEHardenUser>
    </component>
    <component name="Microsoft-Windows-ServerManager-SvrMgrNc" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <DoNotOpenServerManagerAtLogon>true</DoNotOpenServerManagerAtLogon>
    </component>
    </settings>
    </unattend>

    Created on a new server source using Windows System image manager. But still does not install roles/features. Can somebody please point out what or were am going wrong?

    EDIT:

    Or maybe can sombody please show me a working xml (obviously without personal info's..eg key..lol)

    EDIT:

    After validating my xml, i get this error.

    14kxpcp.jpg

    Thank you

  5. or you can install from a XML file using the -inputpath switch

    <?xml version="1.0" encoding="utf-8" ?>
    <ServerManagerConfiguration Action="Install" xmlns="http://schemas.microsoft.com/sdm/Windows/ServerManager/Configuration/2007/1" xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <RoleService Id="FS-DFS-Namespace" />
    <Feature Id="Backup" />

    Can you please expain, what you meant by inputpath. Am trying to install server roles/features using xml unattendedly, but dont know how to install servermanager features using xml. I did copy and pasted the above scripts to my Autounattend.xml, but installation fails.

    Please help/advice

    Thank you

  6. Glad to hear your theme is working now.

    I only use 1 method, and that is xml, as the cmd method does not allow me to install couple of features in one go (maybe it does, but dont know how). so instead i tried xml, but failed. I do not use vlite at all, used it in the past, but stopped using it long time ago.

    Its a clean xml file, just with basic unattend scripts.

    Can you please show an xml on how you added yours?

    Thank you

  7. In answer to your question about desktop experience you can add this line to a *.cmd or *.bat

    Servermanagercmd -i Desktop-Experience

    or you could for example add something like this to your xml installation file

    <?xml version="1.0" encoding="UTF-8"?>
    <ServerManagerConfiguration Action="Install"
    xmlns="http://schemas.microsoft.com/sdm/Windows/ServerManager/Configuration/2007/1">
    <Feature Id="BitLocker"/>
    <Feature Id="Desktop-Experience"/>
    <Feature Id="PowerShell"/>
    <Feature Id="Backup-Features"/>
    <Feature Id="Backup"/>
    <Feature Id="Backup-Tools"/>
    <Feature Id="Wireless-Networking"/>
    </ServerManagerConfiguration>

    i added this to my Autounattend.xml, but for some reason half through installation, it fails and gives some sort of error "(null" blah blah...) and install end.

    Am i missing anything else from Autounattend.xml?

    Thanks and did your theme work?

  8. 'Note (for this key, you must edit and add your themes xxxx.msstyles name before exporting, (Defualt is aero, i editied this to windows 7.msstyles and then saved it)'

    Could you possible tell me were my theme name has togo please as i dont see a place for it?

    When you launch regedit.exe, go to that key [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Themes\LastTheme]

    and check if the theme name shows aero, or your theme name. If it shows aero, then you must edit this WITHIN regedit and change it to your theme name. If its already showing your theme name, then its fine, just export and your done

  9. I have recently finished converting my server 2008 as workstation. I also applied the settings for theme to server registry, so its loaded on first logon.

    Configure your server first with your theme, then launch regedit.exe and export these following keys.

    Example of my one:

    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\ThemeManager]
    "ThemeActive"="1"
    "LoadedBefore"="1"
    "LastUserLangID"="1033"
    "LastLoadedDPI"="96"
    "DllName"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,\
    74,00,25,00,5c,00,72,00,65,00,73,00,6f,00,75,00,72,00,63,00,65,00,73,00,5c,\
    00,54,00,68,00,65,00,6d,00,65,00,73,00,5c,00,57,00,69,00,6e,00,64,00,6f,00,\
    77,00,73,00,20,00,37,00,5c,00,57,00,69,00,6e,00,64,00,6f,00,77,00,73,00,20,\
    00,37,00,2e,00,6d,00,73,00,73,00,74,00,79,00,6c,00,65,00,73,00,00,00
    "ColorName"="NormalColor"
    "SizeName"="NormalSize"


    Note (for this key, you must edit and add your themes xxxx.msstyles name before exporting, (Defualt is aero, i editied this to windows 7.msstyles and then saved it)

    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Themes\LastTheme]
    "ThemeFile"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,\
    74,00,25,00,5c,00,72,00,65,00,73,00,6f,00,75,00,72,00,63,00,65,00,73,00,5c,\
    00,74,00,68,00,65,00,6d,00,65,00,73,00,5c,00,57,00,69,00,6e,00,64,00,6f,00,\
    77,00,73,00,20,00,37,00,2e,00,74,00,68,00,65,00,6d,00,65,00,00,00
    "Wallpaper"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,\
    74,00,25,00,5c,00,57,00,65,00,62,00,5c,00,57,00,61,00,6c,00,6c,00,70,00,61,\
    00,70,00,65,00,72,00,5c,00,57,00,61,00,6c,00,6c,00,70,00,61,00,70,00,65,00,\
    72,00,2e,00,6a,00,70,00,67,00,00,00
    "DisplayName of Modified"=""

    [HKEY_CURRENT_USER\Control Panel\Desktop]
    "Wallpaper"="C:\\Windows\\Web\\Wallpaper\\Wallpaper.jpg"

    Note: for custom themes to work properly (if you use it), make sure your uxtheme is also patched

    uxtheme patch can be found here

    Uxtheme Patch

    After that, i added a cmd file to global startup menu, "ProgramData\Microsoft\Windows\Start Menu\Programs\Startup", so it applies these registry settings on first logon.

    My cmd:

    @echo off

    start /wait %systemroot%\Regedit.exe /s %systemroot%\Setup\Workstation\Theme\theme.reg

    Shutdown /r /t 06

    DEL /Q /F %0

    This cmd file will delete itself and restart, so your settings takes place.

    But as you mentioned above, make sure you have your theme service enabled as well.

    Optionally you can try this as well, only if you have an Autounattend.xml created then add this(i have not tried it with server, but with vista it works)

    <Themes>
    <CustomDefaultThemeFile>%WINDIR%\resources\themes\VistaGlass.theme</CustomDefaultThemeFile>
    </Themes>

    Audio solution

    Add this to a reg file then import.

    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile]
    "SystemResponsiveness"=dword:00000014

    And finally , yes you can use "SETUPCOMPLETE.CMD" on server as well, i personally use that to apply few stuffs.

    If this still does not work then go to services and set "Multimedia class schedular to Automatic" Server 2008, Defualt is manual, on vista defualt is Automatic.

    Good luck ;)

    Btw how did you enable desktop experience, am trying to enable or to get it installed unattendedly, so my server is fully set up as workstation out of box. I hate installing desktop experience via server manager.

  10. sorry, you play Russian roulette and one day you'll get a malicious program. :whistle: People like must be force to use UAC, I never understood why MS let the user the choice to completely disable it :angry:

    I have been using vista since it released, and always had UAC disabled, ans still had no malicious crap on my system. and yes i agree with Rudi1, it makes you answer stupid questions like " are you sure" etc...

    IMO UAC is a stupid MS security feature, and am glad win7 provides full control over UAC. If ms removed that UAC security crap from windows 7 and replaced it with something better, then maybe i would be more than happy to use the securty feature without disabling.



×
×
  • Create New...