I followed your instructions and I think I see what is wrong.
It appears that when "wscript //H:cscript" is run the default action for .VBS is set to "open" (i.e. wscript). When I run "wscript //H:wscript" the default action changes to "open with command prompt" (i.e. cscript). I tried...
Okay, I see now. Here is what I get when I running each of the following commands:
> c:\>wscript //h:cscript
The default script host is set to cscript.
> c:\>wscript xyz.vbs still hosted by wscript
WScript.Echo outputs text in a graphical pop up (as expected).
> c:\>cscript xyz.vbs still...
Hi Tsuji, I don't think I understand you.
The situation is that the default script host is set to cscript. However when I run a script from the command-line as is (i.e. not being prefaced with "cscript" or the like) all text passed to the WScript Echo method is being displayed in graphical pop...
Okay, I think that this is a very confusing situation.
So I was slightly mistaken--I was poking around (more specifically, I used the script given at this link...
Thank you for your reply.
Okay, so what should I do next then? I already mentioned that changing the default script host via "wscript //h:cscript" doesn't seem to be working. Of course, when I run a script directly using the cscript host (e.g. "cscript myscript.vbs") the script host used is...
Hi all,
I need help with a problem that doesn't make any sense. I can't seem to switch the default scripting host to cscript. The way this is normally done is via the following command:
wscript //H:cscript
When I run this command I see something similar to "the default script host was set to...
It turns out that the problem was related to group policy. Specifically, Administrators had been accidentally removed from the device driver load/unload security setting. Once Administrators was added back the policy, I was able to reinstall file/print sharing.
Also, as it turned out, once I...
> Any settings coming in to play from "Network Connections"
> in Group Policy?
Okay, at your suggestion I decided to investigate Group Policy a bit more. I found something a bit suspicious with the device driver load/unload local policy security setting. I can't do anything to change it right...
Thank you for your reply.
> Is File and Print Sharing enabled in your LAN
> Properties? What is happening when you manually try to
> enable it?
File and Print Sharing does not exist (its been uninstalled). When I try to reinstallit via LAN Properties I get a permissions error.
> Are any...
Thank you for your reply. For the time being I've given up on writing a script to automatically install file/print sharing (wasn't really necessary anyways). I just want to install file/print sharing on my local computer again! Programatically, manually, any way is okay with me. So clearly...
Hi there,
I'm trying to write a script that automatically installs/enables Microsoft Network File and Print Sharing using snetcfg.
I was able to get the uninstall component to work (i.e. snetcfg.exe -v -u MS_Server). NOTE: in order to able to enable File/Print Sharing apparently you first...
In my case, there are two reasons we are using forwarders: 1) fewer holes to open up in the firewall, 2) we have a support contract with a vendor that includes support for DNS, so the vendor will be respsonsible for troubleshooting any DNS related problems that crop up.
technome, it sounds like you're doing something similar to what we're trying to do with our firewall/forwarders.
I still don't understand why our DNS servers are trying to hit the root hint servers (our DNS servers actually forward external DNS requests to a DNS server on the firewall, which...
Roadkill,
I'm still not 100% sure where the source of the problem is, but as you say, the fact that the local DNS servers are trying to hit root host servers is evidence enough that something is wonky. Thanks for your help.
> Do you need the DNS server if you are using your ISP for
> DNS resolution? If you don't need the DNS server, you
> should just disable the DNS server service.
We are using the DNS server for local DNS resolution so we definitely need it. But we are not sharing any DNS information...
Greetings!
I have a silly question. Right now the local firewall is set only allow DNS queries from the internal network to the ISP's DNS servers (external DNS queries are being forwarded only, no DNS zone information is being sent as there is no need). I'm seeing dropped packets (UDP port 53)...
That's a good question. The answer is that I also use the server as a test (or 'play') environment for new software. For example, I found this new Japanese groupware software package the other day (Aipo4) and I wanted to give it a whirl. So I set up a new virtual machine and installed it. As it...
Hi there! I don't really have a problem to "solve" per se, I just want to understand what exactly happened here and prevent the same from happening in the future...
Here's what I did. I have a home server running VMware Server on top of Linux. I have a virtual machine that I set up as a Samba...
Restorer 2000 (NTFS version) was able to identify *all* the files/directories on the external drive in 1/4 the time required by PC Inspector (PC Inspector was unable to identify the files of certain directories and sometimes had trouble identifying the correct names of files). It was also able...
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.