![]() |
Couple of problems
Bit stuck with these...
Firstly, can anyone think of a way to remotely change the DNS servers on a PC. I'm thinking of something built into Windows rather than a 3rd party tool. It's something I do everyday and it would make life easier if I could just issue a command. Secondly, how do you delete a service? I've Googled and found nothing. It must be possible :scratch: Sometimes I want to install VNC and find I can't because another version already exists (as a service). Need to remove the service so the install can complete. I'm wondering if there's a command or whether it's a registry hacking thing. Ta :) |
Re: Couple of problems
Looks like you can change settings using the netsh command ( http://www.petri.co.il/configure_tcp_ip_from_cmd.htm ) .
You should be able to use the "psexec" command from http://www.sysinternals.com/Utilities/PsExec.html to execute the command on the remote machine (psexec is run from your machine, but it can start and control command line and text based programs on another machine - just redirects the text output to your machine). However, you can use the SC command to control services (including deletion). |
Re: Couple of problems
I thought about psexec but like I said - was hoping for a built-in method. netsh looks a bit complicated.
Coooo - sc :D Smashing. Can be executed remotely too :tu: |
| All times are GMT. The time now is 06:01. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
All Posts and Content are © Cable Forum