HCL Connections
  • 主页
  • 个人档案 ▼
  • 社区 ▼
  • 应用程序 ▼
  • 统计
  • 审核
  • ▼
  • 登录
  • 共享
  • ?
  • HCLHCL

博客

  • 我的博客
  • 公共博客
  • 我的更新
  • 管理
  • 登录以进行参与

▼ 标签

 

▼ 归档

  • 2021年3月
  • 2020年10月

▼ 博客作者

Brad Sexton

查看所有条目
单击此按钮可以刷新整个页面。 用户可以转至“条目列表”区域查看新内容。) 条目列表

-BigFix OSD - Setting up app associations during imaging

Brad Sexton 64576A77-B31D-BF00-0025-86070027DBEC bsexton@hcltechsw.com | ‎ | 1,319 次访问

 

 

This article presents a method to import the default app associations for PCs. For example, you might not want Microsoft Edge to be your PDF reader but Adobe reader. You can change such default app associations in BigFix and use the configuration during Phase 1 of the OSD process. For details on how to set up OSD phases, see Fat Images vs. Layered Images.

 

Creating custom app associations

  1. Log in with a local administrator account and make the file association changes as required.
  1. Run the command under elevated command prompt.
Dism /Online /Export-DefaultAppAssociations:C:\Windows\Temp\AppAssoc.xml

image

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  1. Open the following xml file C:\Windows\Temp\AppAssoc.xml in an app like Notepad.
  1. In BigFix, create a new Task called "OSD – AppAssoc.xml".
  1. Open the Actions tab.
  1. Copy and paste the lines:
action uses wow64 redirection false

delete __createfile

Createfile until END_OF_FILE

<PASTE THE XML FILE HERE>

END_OF_FILE

delete AppAssoc.xml

move __createfile AppAssoc.xml

delete __createfile

// Log setup

parameter "mainSWDLogFolder" = "{parent folder of client folder of current site}/__Global/SWDDeployData"

folder create "{parameter "mainSWDLogFolder"}"

parameter "logFile" = "SWD_DeploymentResults.log"

waithidden C:\WINDOWS\SYSNATIVE\DISM.EXE /online /Import-DefaultAppAssociations:AppAssoc.xml
  1. Open Notepad. Select all the contents of the xml file and copy them.

image

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  1. In the BigFix Task, select the section <PASTE YOUR XML FILE HERE> and replace it will the contents of the XML file.

image

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

The Task should look like this:

image

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Add the task to your OSD – Phase 1 section and Take Action for Phase 1 as described in the previous OSD Phases setup. This step updates the file associations in phase 1 of the OSD deployment. 

 

 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Author

Brad Sexton is a BigFix technical advisor for the mid-Atlantic region. He was a BigFix administrator in a global enterprise for 7 years where he was using BigFix for OSD, Software Deployments, and patching. Brad joined the HCL BigFix team in 2018.

Review and editorial credits

Shivi Sivasubramanian is a senior-level technical author and editor with a demonstrated history of working in the technology industry. A firm believer in the magical power of words, she loves helping the community deliver expressive, minimalist, and user-friendly content. Shivi currently leads a team of information developers in BigFix.

 

由 Brad Sexton 64576A77-B31D-BF00-0025-86070027DBEC bsexton@hcltechsw.com 于 修改
  • 添加评论 添加评论
  • 编辑
  • 更多操作 v
  • 隔离此条目
通知其他人
notification

发送电子邮件通知

+

隔离此条目

deleteEntry
duplicateEntry

标记为重复项

  • 上一个条目
  • 主页
  • 下一个条目
“博客条目”的订阅源 | “博客评论”的订阅源 | 此条目评论的订阅源
  • 主页
  • 帮助
  • 书签工具
  • 服务器统计
  • 移动 UI
  • 关于
  • hcl.com 上的 HCL Connections
  • 提交反馈