中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-08-09 01:09
47,811 topics / 349,895 posts / today 0 new / 48,253 members
DOS批处理 & 脚本技术(批处理室) » Urgent help with a BAT file
Printable Version  768 / 7
Floor1 tonymj Posted 2008-06-26 10:15
新手上路 Posts 5 Credits 12
I now need to execute a batch file on more than 100 machines under the domain controller.
The contents are as follows:
net stop tmlisten
trendmicro.reg
net start tmlisten

Among them, trendmicro.reg, the registry file, is stored on the server.
The server name is: WH_CIM_FILE01
The IP is: 172.24.4.1
How do I add the network address to the BAT file above, so that my client machines can automatically connect over the network and apply the registry?
Floor2 HAT Posted 2008-06-26 10:19
版主 Posts 5,017 Credits 9,023
Can't you distribute it to each machine through the domain controller?
Floor3 tonymj Posted 2008-06-26 10:30
新手上路 Posts 5 Credits 12
That's the thing.
I just don't know how to add the network address into the BAT file,
otherwise the client machines can't find where the REG file is.
Floor4 tonymj Posted 2008-06-26 10:43
新手上路 Posts 5 Credits 12
Bump it up
Floor5 hjkk123 Posted 2008-06-26 10:58
初级用户 Posts 82 Credits 160
psexec seems to work
Farmer IPC tool scanipc
There are lots of batch planting tools online

[ Last edited by hjkk123 on 2008-6-26 at 11:06 AM ]
Floor6 HAT Posted 2008-06-26 11:05
版主 Posts 5,017 Credits 9,023
Can't you distribute the REG file together with it?
Floor7 yxn064 Posted 2008-06-26 16:08
新手上路 Posts 9 Credits 16
Floor8 HAT Posted 2008-06-26 16:14
版主 Posts 5,017 Credits 9,023
The OP is in a domain environment ^_^
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023