Change Service Name or Service Display Name

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
r2du-soft
Posts: 68
Joined: 09 Sep 2011 12:13

Change Service Name or Service Display Name

#1 Post by r2du-soft » 15 Jul 2014 15:02

hi
it is possible change Service Name or Service Display Name?

foxidrive
Expert
Posts: 6031
Joined: 10 Feb 2012 02:20

Re: Change Service Name or Service Display Name

#2 Post by foxidrive » 15 Jul 2014 19:29

Did you create this service?

r2du-soft
Posts: 68
Joined: 09 Sep 2011 12:13

Re: Change Service Name or Service Display Name

#3 Post by r2du-soft » 15 Jul 2014 21:15

This service is Windows Update Service (wuauserv), I need Change Name This Service!

foxidrive
Expert
Posts: 6031
Joined: 10 Feb 2012 02:20

Re: Change Service Name or Service Display Name

#4 Post by foxidrive » 15 Jul 2014 21:24

Not that I know if a service name can be changed but other processes may be hardcoded to use that name, which will break if it's changed.

Squashman
Expert
Posts: 4488
Joined: 23 Dec 2011 13:59

Re: Change Service Name or Service Display Name

#5 Post by Squashman » 16 Jul 2014 06:49

r2du-soft wrote:This service is Windows Update Service (wuauserv), I need Change Name This Service!

Why?

r2du-soft
Posts: 68
Joined: 09 Sep 2011 12:13

Re: Change Service Name or Service Display Name

#6 Post by r2du-soft » 16 Jul 2014 09:46

Squashman wrote:
r2du-soft wrote:This service is Windows Update Service (wuauserv), I need Change Name This Service!

Why?


hi
please first read this topic:
viewtopic.php?f=3&t=5760

I tried the disable windows update with change value in gpedit.exe but as though this method is impossible!!!
now i want tried rename That service for full disable that (wuauserv).
i write program disable windows update with commands:

Disable Windows Update:
    reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update" /v AUOptions /t REG_DWORD /d 1 /f
    reg add "HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate" /v DisableWindowsUpdateAccess /t REG_DWORD /d 0 /f

    sc stop wuauserv
    sc config wuauserv start= Disabled

Enable Windows Update:
    reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update" /v AUOptions /t REG_DWORD /d 4 /f
    reg add "HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate" /v DisableWindowsUpdateAccess /t REG_DWORD /d 1 /f
    sc start wuauserv
    sc config wuauserv start= delayed-auto


But this command and this way not enough for me! because with this way windows update not disable full! and some programs can Unbeknownst to me enable that (windows update service)!
i am looking for a way to disable full this service
Thanks

Squashman
Expert
Posts: 4488
Joined: 23 Dec 2011 13:59

Re: Change Service Name or Service Display Name

#7 Post by Squashman » 16 Jul 2014 09:49

Doesn't sound like a very good idea to me.

foxidrive
Expert
Posts: 6031
Joined: 10 Feb 2012 02:20

Re: Change Service Name or Service Display Name

#8 Post by foxidrive » 16 Jul 2014 09:57

r2du-soft, you seem to want to disable the windows update service but why do you need to script this?

As a personal choice you can do it manually - and if you are writing software to run on other people's computer then disabling it doesn't seem appropriate.
Or do you work in admin IT and need to roll this out across a domain? Why wouldn't you use the group policy?

I'd like to understand why you need to do this.

r2du-soft
Posts: 68
Joined: 09 Sep 2011 12:13

Re: Change Service Name or Service Display Name

#9 Post by r2du-soft » 16 Jul 2014 10:09

foxidrive wrote:r2du-soft, you seem to want to disable the windows update service but why do you need to script this?

As a personal choice you can do it manually - and if you are writing software to run on other people's computer then disabling it doesn't seem appropriate.
Or do you work in admin IT and need to roll this out across a domain? Why wouldn't you use the group policy?

I'd like to understand why you need to do this.


i lot of Installation windows,and always after install new windows must change manually this settings in windows.
so i think that i can write a program for do my works automatically + As a result, it is difficult for me after install new windows i change setting,For example, you know (disable full windows update) One of the things that i do it.
I want to share this program To those who they internet is limited and thats are Novice users,can Disable\Enable full windows update.

foxidrive
Expert
Posts: 6031
Joined: 10 Feb 2012 02:20

Re: Change Service Name or Service Display Name

#10 Post by foxidrive » 16 Jul 2014 10:19

Thank you, I can see the reason now. Limited data on an expensive internet plan could make this useful - though it would leave Windows vulnerable to exploits.


Post Reply