jkspeed, you are correct. I needed to remove blank lines as well. We actually have this in place and it is working well. I simply created a GPO and a task in task scheduler that will execute this script and the services file is updated.
Mind you we only need to update the services file...
What I did was create a GPO with a scheduled task to execute the script and it works well. I have the following code:
'--------------
'Start of UAC workaround code
If WScript.Arguments.length =0 Then
Set objShell = CreateObject("Shell.Application")
objShell.ShellExecute "wscript.exe"...
Ugh... another permission error line 26. I must have tweaked my local services file when testing from a non-standard security setting.
Is there anyway to pass through an administrator username/password for the file write or maybe change the attributes of services to allow writing then...
Actually.. only one hitch.. I am getting a 800A0046 Permission denied error when it tries to write the ack file. Our previous batch script temporarily made the ETC folder not read only through
attrib -r %windir%\system32\drivers\etc\*.* /D and then changed it back near the end rem...
Thank you for the suggestions. I know the ramifications of modifying the Services file in the wrong manner [bigsmile] Trust me, when testing, I simply move a copy of a services file off to something such as C:\temp and adjust paths accordingly.
I will toy around with your suggestions and see...
Background: SAP system will be modified and a change is required in the Windows services file on all domain computers. I am not a programmer, but can tinker and understand the basics. Essentially, I am a danger to myself and all around me when I play with code lol
What I would like to...
Here is a capture from the Avaya. I tried a few different Codecs, but the same problem remains. Shoretel Calls Avaya, Avaya rings, but when you answer the Avaya, dead air. When you hang up the Avaya, ShoreTel receives a fast busy.
Let me know if you guys need more info .... I am pulling...
Ok, when removing the siparator, what does that do to my configuation?
Obviously, I change the ITSP address on the Avaya line to point directly to the ShoreTel, but what else would need to be done on the avaya side which is different than my current configuration?
nicka, maybe we can share notes. Did you figure out a fix for this?
I can see my avaya grabbing a trunk but not passing the call through the siparator to our shoretel system. When I call from the shoretel in, the avaya phone rings, but it is just silence then a disconnect when I answer. I...
Step right up... who is up for the challenge? Ok here we go...
We have a ShoreTel V10.2 system at site A and an Avaya IP Office 5.0 (24) at a remote office connected with a site to site VPN.
We purchased an Ingate Siparator to translate the SIP trunking. Though some people have hinted that...
Let me start off by saying, I do not know much about the nortel BCM other than the basics such as a few button programming features. One of our users has requested to have the paging feature available on their phone. I just do not know how the heck to set it up. It is working on other...
I have two separate domains connected via vpn. Lets call them domain A and Domain B. When I set up the trusts, they both verified just fine. but now when I try to verify from domain A to B I get a no RPC server available. When I verify from somain B to A it asks for a password, but then says...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.