Windows Server 2003
1833707 Members
2039 Online
110063 Solutions
New Discussion

windwos2003 put evry time service file back

 
I.Delic
Super Advisor

windwos2003 put evry time service file back

Hi,

After i make some changes to my services file (windows\system32\drivers\etc\services, windows2003 put the original file back.All my changes are gone.

I don't know what is a probleem

Kan you help me.

Thank you in advance

Idriz

p.S. it is one windows2003 terminal server

3 REPLIES 3
Rune J. Winje
Honored Contributor

Re: windwos2003 put evry time service file back

The services file is mainly a information only file of "well known" ports.

But why it gets "reset" is probably due to system file protection.

Try making a change in services and then run
sfc /scannow
If it changes back, you've found the reason.

Instead of disabling sfc it is probably a better option to copy the services file to services.txt and make your changes in that.


Cheers,
Rune
Thomas Bianco
Honored Contributor

Re: windwos2003 put evry time service file back

rune has the problem pretty well locked down, but i'd like to chime in with a few important bits.

first, you can disable SFC temporarily, replace the file and the copy from \winnt\system32\dllcache with your changed file and reenable SFC.

secondly, why would you need to change this file? almost nothing in the system looks at this. unlike unix where this is a valid config file, windows largly ignores this and expects services and applications to handle port selection on their own.
There have been Innumerable people who have helped me. Of course, I've managed to piss most of them off.
I.Delic
Super Advisor

Re: windwos2003 put evry time service file back

hi,

I need this file for comunicatin wiht UNIX database.

I wil try your sugestions and ik wil let you know about results.
Thank you for your help and the points i wil give after i try your solutions.

Thank you