Re: adding a line to ...drivers/etc/services using group policies



Hello Mark,

I already had seen several pices of software using etc/services to gahter
which "Ports" to use.

well and due to having several pices of software changing thouse files
I can't simply deploy a "ready"-made file - I really need to change an
existing.

One idea I developed ist to deploy a "change the f*ing file batch" and
run this batch by modifying the "runonce" reg key ...

Kind regards

Stefan

"Mark Heitbrink [MVP]" <spam-only@xxxxxxxxxxxxxxxxxxxxx> wrote in
news:uyZ9nLcCHHA.4312@xxxxxxxxxxxxxxxxxxxx:

Hi,

Stefan Sczekalla-Waldschmidt schrieb:
we are using group-policies to deploy software to certain computers.
A package we are going to make needs an updated Lin in
....drivers/etc/services.
Any Idea how I can "patch" this file to add a certain line ?

Deploy it with a selfmade MSI or just edit it with a computer
startup script.

echo "name port/proto shortname #info" >>
%systemroot\system32\drivers\etc\services

But to be honest, who needs this file? It´s just information ...

Mark

.


Loading