克隆机-触发器具有旧的计算机名 [英] Cloning machines - Triggers have old computer name

查看:75
本文介绍了克隆机-触发器具有旧的计算机名的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我使用Sysprep克隆计算机(或不使用Sysprep)时,触发器保持不变.我经常不得不手动删除并重新创建触发器.

1) 我(或某人)可以编写脚本来使用当前计算机名称为我自动创建触发器吗? IE,删除所有现有触发器,并使用新的计算机名称创建新的触发器.启用某些功能和禁用其他功能.

2) 触发信息存储在哪里?也许我可以只创建一个.reg或修改后的.xml文件?

 


Dane!

解决方案

我相信触发器信息存储在注册表中.  克隆机器时,请确保QMID是唯一的(请参见此处的John文章: http://blogs.msdn.com/b/johnbreakwell/archive/2007/02/06/msmq-prefers-to-be-unique.aspx ).

我希望这会有所帮助.

穆罕默德·伊斯梅尔[MSFT]


Hi,

when I clone a machine using Sysprep (or not), it leaves the triggers untouched.   I constantly have to delete and re-create the triggers manually.  

1)  Can I (or someone) write a script to create the triggers for me automatically using the current machine name?   IE, delete any existing triggers and create new one's using the new computer name.  Enabling some and disabling others.

2)  Where is the trigger information stored?  Maybe I can just create a .reg or modified .xml file?? 

 


Dane!

解决方案

I believe that Trigger information is stored in the registry.  When cloning the machines, make sure that QMIDs are unique (See John's post here: http://blogs.msdn.com/b/johnbreakwell/archive/2007/02/06/msmq-prefers-to-be-unique.aspx).

I hope this helps.

Muhammed Ismail [MSFT]


这篇关于克隆机-触发器具有旧的计算机名的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆