Jump to content


Search the Community

Showing results for tags 'xml'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Cloud
    • Azure
    • Microsoft Intune
    • Office 365
    • Windows 365
  • General Stuff
    • General Chat
    • Events
    • Site News
    • Official Forum Supporters
    • Windows News
    • Suggestion box
    • Jobs
  • MDT, SMS, SCCM, Current Branch &Technical Preview
    • How do I ?
    • Microsoft Deployment Toolkit (MDT)
    • SMS 2003
    • Configuration Manager 2007
    • Configuration Manager 2012
    • System Center Configuration Manager (Current Branch)
    • Packaging
    • scripting
    • Endpoint Protection
  • Windows Client
    • how do I ?
    • Windows 10
    • Windows 8
    • Windows 7
    • Windows Vista
    • Windows XP
    • windows screenshots
  • Windows Server
    • Windows Server General
    • Active Directory
    • Microsoft SQL Server
    • System Center Operations Manager
    • KMS
    • Windows Deployment Services
    • NAP
    • Failover Clustering
    • PKI
    • Hyper V
    • Exchange
    • IIS/apache/web server
    • System Center Data Protection Manager
    • System Center Service Manager
    • System Center App Controller
    • System Center Virtual Machine Manager
    • System Center Orchestrator
    • Lync
    • Application Virtualization
    • Sharepoint
    • WSUS

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Location


Interests

Found 5 results

  1. Hi, I'm in the process of deploying Windows 10 (x64 Enterprise Build 1809) at a customer site using Configuration Manager Current Branch (1806 + Hotfix). Office 365 Click-to-Run is a Tier 1 application that I am installing during deployment of the OS to the endpoint machine. In order to ensure the O365 C2R content is the latest "Semi-Annual Channel" version (client is bound by regulation to patch applications, so testing this with Office) I've setup the following: "Content" for the Application in CM is JUST setup.exe plus XML files for the install. Two XML files for install for two different locations (one of which is on at a low-speed WAN site). Each XML refers to source content in an open share on the Distribution Point servers - one of which is at the low-speed WAN site. Two deployment types in the Application - one for each XML. Setup a Scheduled Task on the Distribution Point servers to update the share (not the Application content) on a regular basis So my plan was then to use a "Requirement" on the application using a custom Global Condition that determines the Active Directory site (created using PowerShell). The idea then being that during deployment, the application installs using the latest available SAC version and administrators don't need to worry about the Application content being updated. And of course, the XML file then tells it to grab the content from the local site, which is highly connected. Works wonderfully well in Software Center in my testing. BUT, doesn't seem to work in OSD Task Sequence ☹️. If I am reading error logs right, it seems as though the PowerShell in the Global Condition is not being allowed to run (even when I set Execution Policy to "Bypass" earlier in the Task Sequence. So, perhaps I am making things more complex than they should be. Simplest thing to do would be to create two separate applications using the same method (i.e. not just two deployment types) and use a Dynamic Variable in the Task Sequence that installs one or the other dependent upon gateway IP. However, throwing it out there for some thoughts on how I could do this using the multiple deployment methods on the single app. Thanks, Matt
  2. We're fine with backing up themes, wallpapers and other display customizations (DPI, window color & appearance etc.) because it gives us something to go back to or restore if its truly need. However, we do not want to restore the aforementioned on the destination PC by default. I must be doing something wrong and I can't figure out what and need some help. I've read some great write ups on the subject: USMT Custom XML the Free and Easy Way USMT 4.0 Custom Sample - Blocking Wallpaper and Theme Migration from Windows Vista and Windows 7 Blocking Wallpaper Migration with USMT (or: you are a jerk) and used part of their example XML in my own, but everything (wallpaper, themes and other display customizations) is still coming over. Now I'm trying to use MigXmlHelper.DestinationPriority() but really its just a last ditch effort. From an elevated command prompt in C:\USMT\amd64\, I'm executing: scanstate.exe E:\USMTBackup /config:nothemeuiconfig.xml /i:MigApp.xml /i:MigDocs.xml /i:MigUser.xml /i:unconditionalexclusions.xml /i:blockwallpaperandthemev3.xml /i:getlocalpsts.xml /i:inclusions.xml /ui:domain1\user1 /ue:*\* /vsc /c /o /nocompress /localonly /v:13 /l:\\path\to\scanstate.log /progress:\\path\to\scanstate_progress.log /listfiles:\\path\to\scanstate_listfiles.log The blockwallpaperandthemev3.xml contains: <?xml version="1.0" encoding="UTF-8"?> <migration urlid="http://www.microsoft.com/migration/1.0/migxmlext/blockwallpaperandthemev3"> <component type="Documents" context="User"> <displayName>Block Wallpaper, Theme and Display Registry Settings</displayName> <role role="Data"> <rules> <unconditionalExclude> <objectSet> <!-- Blocks wallpaper, themes (which include wallpaper) and other display/visual customizations (DPI, Screen Saver, Window Color & Appearance etc.) in the registry when migrating from Vista, 7 and beyond --> <pattern type="Registry">HKCU\Control Panel\Appearance\* [*]</pattern> <pattern type="Registry">HKCU\Control Panel\Desktop [Pattern]</pattern> <pattern type="Registry">HKCU\Control Panel\Desktop [SCRNSAVE.EXE]</pattern> <pattern type="Registry">HKCU\Control Panel\Desktop [TileWallpaper]</pattern> <pattern type="Registry">HKCU\Control Panel\Desktop [WallPaper]</pattern> <pattern type="Registry">HKCU\Control Panel\Desktop [WallPaperStyle]</pattern> <pattern type="Registry">HKCU\Control Panel\Desktop\Colors [*]</pattern> <pattern type="Registry">HKCU\Control Panel\Desktop\WindowMetrics [*]</pattern> <pattern type="Registry">HKCU\Software\Microsoft\Internet Explorer\Desktop\General [WallpaperSource]</pattern> <pattern type="Registry">HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Wallpapers\* [*]</pattern> <pattern type="Registry">HKCU\Software\Microsoft\Windows\CurrentVersion\ThemeManager\* [*]</pattern> <pattern type="Registry">HKCU\Software\Microsoft\Windows\CurrentVersion\Themes\* [*]</pattern> </objectSet> </unconditionalExclude> <merge script="MigXmlHelper.DestinationPriority()"> <objectSet> <pattern type="Registry">HKCU\Control Panel\Appearance\* [*]</pattern> <pattern type="Registry">HKCU\Control Panel\Desktop [Pattern]</pattern> <pattern type="Registry">HKCU\Control Panel\Desktop [SCRNSAVE.EXE]</pattern> <pattern type="Registry">HKCU\Control Panel\Desktop [TileWallpaper]</pattern> <pattern type="Registry">HKCU\Control Panel\Desktop [WallPaper]</pattern> <pattern type="Registry">HKCU\Control Panel\Desktop [WallPaperStyle]</pattern> <pattern type="Registry">HKCU\Control Panel\Desktop\Colors [*]</pattern> <pattern type="Registry">HKCU\Control Panel\Desktop\WindowMetrics [*]</pattern> <pattern type="Registry">HKCU\Software\Microsoft\Internet Explorer\Desktop\General [WallpaperSource]</pattern> <pattern type="Registry">HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Wallpapers\* [*]</pattern> <pattern type="Registry">HKCU\Software\Microsoft\Windows\CurrentVersion\ThemeManager\* [*]</pattern> <pattern type="Registry">HKCU\Software\Microsoft\Windows\CurrentVersion\Themes\* [*]</pattern> </objectSet> </merge> </rules> </role> </component> <!-- This component blocks wallpaper & screen saver files --> <component type="Documents" context="User"> <displayName>Block Wallpapers and Theme Files</displayName> <role role="Data"> <rules> <unconditionalExclude> <objectSet> <content filter="MigXmlHelper.ExtractSingleFile(NULL, NULL)"> <objectSet> <pattern type="Registry">HKCU\Control Panel\Desktop [SCRNSAVE.EXE]</pattern> <pattern type="Registry">HKCU\Control Panel\Desktop [WallPaper]</pattern> <pattern type="Registry">HKCU\Software\Microsoft\Internet Explorer\Desktop\General [WallpaperSource]</pattern> <pattern type="Registry">HKCU\Software\Microsoft\Windows\CurrentVersion\Themes\* [*]</pattern> </objectSet> </content> </objectSet> </unconditionalExclude> <merge script="MigXmlHelper.DestinationPriority()"> <objectSet> <content filter="MigXmlHelper.ExtractSingleFile(NULL, NULL)"> <objectSet> <pattern type="Registry">HKCU\Control Panel\Desktop [SCRNSAVE.EXE]</pattern> <pattern type="Registry">HKCU\Control Panel\Desktop [WallPaper]</pattern> <pattern type="Registry">HKCU\Software\Microsoft\Internet Explorer\Desktop\General [WallpaperSource]</pattern> <pattern type="Registry">HKCU\Software\Microsoft\Windows\CurrentVersion\Themes\* [*]</pattern> </objectSet> </content> </objectSet> </merge> <unconditionalExclude> <objectSet> <pattern type="File">%CSIDL_LOCAL_APPDATA%\Microsoft\Windows\Themes\* [*]</pattern> <pattern type="File">%CSIDL_APPDATA%\Microsoft\Windows\Themes\* [*]</pattern> <pattern type="File">%CSIDL_WINDOWS%\Resources\Ease of Access Themes\* [*]</pattern> <pattern type="File">%CSIDL_WINDOWS%\Resources\Themes\* [*]</pattern> <pattern type="File">%CSIDL_WINDOWS%\Web\Wallpaper\* [*]</pattern> </objectSet> </unconditionalExclude> <merge script="MigXmlHelper.DestinationPriority()"> <objectSet> <pattern type="File">%CSIDL_LOCAL_APPDATA%\Microsoft\Windows\Themes\* [*]</pattern> <pattern type="File">%CSIDL_APPDATA%\Microsoft\Windows\Themes\* [*]</pattern> <pattern type="File">%CSIDL_WINDOWS%\Resources\Ease of Access Themes\* [*]</pattern> <pattern type="File">%CSIDL_WINDOWS%\Resources\Themes\* [*]</pattern> <pattern type="File">%CSIDL_WINDOWS%\Web\Wallpaper\* [*]</pattern> </objectSet> </merge> <unconditionalExclude> <objectSet> <script>MigXmlHelper.GenerateDrivePatterns ("\Users\*\AppData\Local\Microsoft\Windows\Themes\* [*]","Fixed")</script> <script>MigXmlHelper.GenerateDrivePatterns ("\Users\*\AppData\Roaming\Microsoft\Windows\Themes\* [*]","Fixed")</script> <script>MigXmlHelper.GenerateDrivePatterns ("\Windows\Resources\Ease of Access Themes\* [*]","Fixed")</script> <script>MigXmlHelper.GenerateDrivePatterns ("\Windows\Resources\Themes\* [*]","Fixed")</script> <script>MigXmlHelper.GenerateDrivePatterns ("\Windows\Web\Wallpaper\* [*]","Fixed")</script> </objectSet> </unconditionalExclude> <merge script="MigXmlHelper.DestinationPriority()"> <objectSet> <script>MigXmlHelper.GenerateDrivePatterns ("\Users\*\AppData\Local\Microsoft\Windows\Themes\* [*]","Fixed")</script> <script>MigXmlHelper.GenerateDrivePatterns ("\Users\*\AppData\Roaming\Microsoft\Windows\Themes\* [*]","Fixed")</script> <script>MigXmlHelper.GenerateDrivePatterns ("\Windows\Resources\Ease of Access Themes\* [*]","Fixed")</script> <script>MigXmlHelper.GenerateDrivePatterns ("\Windows\Resources\Themes\* [*]","Fixed")</script> <script>MigXmlHelper.GenerateDrivePatterns ("\Windows\Web\Wallpaper\* [*]","Fixed")</script> </objectSet> </merge> </rules> </role> </component> </migration> I generated a config.xml called nothemeuiconfig.xml and changed this: <component displayname="Microsoft-Windows-themeui" migrate="yes" ID="http://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-themeui/microsoft-windows-themeui/settings"/> To this: <component displayname="Microsoft-Windows-themeui" migrate="no" ID="http://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-themeui/microsoft-windows-themeui/settings"/> Opened a case with Microsoft, sent them: the XML's I'm using the command I used to generate the config.xml the command I used for scanstate the log files generated by scanstate the command I used for loadstate the log files generated by loadstate Summary result of the MS case: After much review & scrutiny, the command line and XML files are syntactically correct and rules are sound. The articles I referenced in the ticket are indeed old and speak of an older version of USMT, so I can accept the possibility that something may have changed between USMT versions that render those suggested rules & instructions invalid. Despite using unconditionalExclude to unconditionally globally exclude objects, something else is trumping that rule, and there’s no way around that. Even using MigXmlHelper.DestinationPrioity() won’t help us here because, like above, something else trumps that rule, and there’s no way around that. The last proposed suggestion is to disable the shmig component, which may or may not break or otherwise adversely affect the backup/restore of other things. (This may be too difficult to detect easily or in initial testing and the uncertainty doesn’t give us confidence problems won’t arise as a result of this change. Also, Ned Pyle's post says NOT to, but then again that's an old post.) Is this no longer possible or am I'm just doing it wrong?
  3. Hello I hope somebody can help me, I've created an xml file to hide wireless options during task sequence deployment and also wish to set locale settings to English GB within the same script. However the task sequence constantly fails despite trying plenty of variations. I am using SCCM2012 R2. Here is the script I am using: <?xml version="1.0" encoding="utf-8"?> <unattend xmlns="urn:schemas-microsoft-com:unattend"> <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> <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE> </OOBE> </component> </settings> <settings pass="oobeSystem"> <component name="Microsoft-Windows-International-Core" 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"> <InputLocale>en-GB</InputLocale> <SystemLocale>en-GB</SystemLocale> <UILanguage>en-GB</UILanguage> <UILanguageFallback>en-US</UILanguageFallback> <UserLocale>en-GB</UserLocale> </component> </settings> <cpi:offlineImage cpi:source="wim://gcsc318a/sccm/osd/images/windows%208.1/enterprise%20x64test/sources/install.wim#Windows 8.1 Enterprise" xmlns:cpi="urn:schemas-microsoft-com:cpi" /> </unattend> Any suggestions would be greatly appreciated, I'm sure it's something simple but I just can't seem to get my head around it. I know both sections of the xml file used separately work fine, the hide wireless hides the wireless and locale settings set to en-gb when separated from each other. Many Thanks!
  4. Hi, since about two months we're having fun here trying out MDT 2012 and USMT5. The idea is implementing LTI. Now, I have this Windows 7 testpc here and I'm doing a User Data Capture. This pc contains a folder - c:\Notes - which contains some subfolders and lots of files. Within this c:\Notes there are four files I want to keep, the rest is of no interest. On the internet I can find quite a lot of info about how to include a folder and to exclude some files within, but alas I don't find anything about the other way around : include files situated in a (sub)folder and deleting the rest. I tried this MigNotes.xml but it didn't work. The complete c:\notes was copied. I tried the unconditionalexclude too, but that was even more dominant, the complete c:\notes was excluded. Using more than one component seems to be a no go too, because each component is evaluated individually. And the order of the rules within a component is of no importance too.... So, in a way, this xml shows me what I want to achieve but we don't know what syntax to use. It would be nice if some of you out there could assist us. Thanks in advance, Paul
  5. I have created an Autounattend.xml file to automatically install the windows 7 os but i have looked and looked and can not figure out what to do next with it. I just need the idea of where to place it or what other steps i am missing to get windows to pick it up and install it. If it makes it easier i could upload what the xml looks like I just need dire help figuring this out for my school project I have never worked with this before just giving me a lot of trouble. Thank you in advance
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.