Hi, you're all reading this!
All jewelry? I hope so ...
I have a Lan House, and need to manipulate the sites.
Bar them, at least some.
Prone site, virus site, download site, etc.
The site that I want I play on a list and will not be accessed.
I know there are many professional programs on the market, I can ta using and will serve me well.
Except that my clients are demanding customers is customer who rents the machine for a whole day games. To be playing.
Then the machine has to be clean so that it uses at will.
After I finish formatting etc.
But have to install driver, game plugins etc etc.
So I need something Situl (and already found).
I do not accept the proposal of other solutions, cause it and already runs away from my focus.
I worked some months with DNS.
I change the machine's DNS, and so there is an error message (website down, or come back later).
That way I changing the DNS, I redirect to a page that I insert the message, and so the client (annoying) does not realize that something is in your, try not to circumvent and so I'm not formatting all the time.
Set objWMIService = GetObject ("winmgmts: \ \ root \ cimv2.")
Set colNetAdapters = [url removed, login to view] ("Select * from Win32_NetworkAdapterConfiguration where IPEnabled = TRUE")
strDNS = Array ("220.127.116.11", "18.104.22.168")
For Each objNetAdapter in colNetAdapters
errEnable = [url removed, login to view] (strIPAddress, strSubnetMask)
errGateways = [url removed, login to view] (strGateway, strGatewaymetric)
[url removed, login to view] strDNS
This code is in VBA, a script, which I inserted into the machine.
Works right, it changes the network DNS.
Ie the active connection.
But now I'm 16 machines, and I want to make my faster, more agile work.
I need a button in flash or java.
That clicking the button already run and change the DNS.
I open my site, I click the button, and already change the DNS on the machine.
Exactly what I need, only that.
Something simple and effective.
Already clicked changes.