Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Can a script be written to change all IE settings across a network?

20 May 2015   #11
mike6623

Windows 8 Pro
 
 

Quote   Quote: Originally Posted by RolandJS View Post
Dell Computers, Round Rock TX, has had for years, from DOS/Windows 3.1 - Windows 7 & beyond, one of the finest, most thorough push-technologies [for updating umpteen computers] that I've known about. You will probably have to pay something for a Dell tech to give you knowledge-wise what you need to: know, purchase, implement, and maintain your own push-technology. From line-items to whole net-station downloads...
Are you just trying to push a service here? You are trying to say that there is no GPO or script that can be written to change IE settings across a domain network?
My System SpecsSystem Spec
.
20 May 2015   #12
RolandJS

Windows 7 Professional 64-bit
 
 

Nope, not at all! I'm just saying that what you want and need may carry a price tag. However, keep watching this thread, there are many great techs [of which I'm not one of] who probably can give you valuable guidance.
My System SpecsSystem Spec
21 May 2015   #13
Pyprohly

Windows 10, Windows 8.1 Pro, Windows 7 Professional, OS X El Capitan
 
 

Okay, I'll bite.

Here's your script, Mike.


th-367767.vbs
Code:
'''
use_ssl_20 = True
use_ssl_30 = True
use_tls_10 = True
use_tls_11 = True
use_tls_12 = True

close_internet_explorer_first = True
restart_computer = False
display_done_message = -1 'Number of seconds. Zero for no message. Negative number for infinite. 
'''

intValue = 0
If use_ssl_20 = True Then intValue = intValue + 8
If use_ssl_30 = True Then intValue = intValue + 32
If use_tls_10 = True Then intValue = intValue + 128
If use_tls_11 = True Then intValue = intValue + 512
If use_tls_12 = True Then intValue = intValue + 2048

If close_internet_explorer_first = True Then
	With CreateObject("Shell.Application").Windows()
		For I = 0 To .Count - 1
			J = 0
			If .Item(J).Name = "Internet Explorer" Then
				Call .Item(J).Quit()
			Else
				J = J + 1
			End If
		Next
	End With
End If

Set WshShell = CreateObject("WScript.Shell")

strKey = "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\SecureProtocols"
strType = "REG_DWORD"
WshShell.RegWrite strKey, intValue, strType

If display_done_message <> 0 Then 
	WshShell.Popup "Done.", display_done_message
End If

If restart_computer = True Then 
	WshShell.Run "shutdown.exe /r /t 0", 0
End If
My System SpecsSystem Spec
.

21 May 2015   #14
mike6623

Windows 8 Pro
 
 

Quote   Quote: Originally Posted by RolandJS View Post
Nope, not at all! I'm just saying that what you want and need may carry a price tag. However, keep watching this thread, there are many great techs [of which I'm not one of] who probably can give you valuable guidance.
Thanks. I thought it wasn't that difficult to push out a GPO or something to update all internet settings to be the same. Myt network admin is back later today, hopefully he has some knowledge regarding how to do this. Everyone I have asked, just in passing, said it was not a difficult thing to achieve.
My System SpecsSystem Spec
21 May 2015   #15
RolandJS

Windows 7 Professional 64-bit
 
 

...and they're probably correct! :) I see somebody already gave you a script -- please let us know how it all worked for you.
My System SpecsSystem Spec
21 May 2015   #16
mike6623

Windows 8 Pro
 
 

Quote   Quote: Originally Posted by Pyprohly View Post
Okay, I'll bite.

Here's your script, Mike.


th-367767.vbs
Code:
'''
use_ssl_20 = True
use_ssl_30 = True
use_tls_10 = True
use_tls_11 = True
use_tls_12 = True

close_internet_explorer_first = True
restart_computer = False
display_done_message = -1 'Number of seconds. Zero for no message. Negative number for infinite. 
'''

intValue = 0
If use_ssl_20 = True Then intValue = intValue + 8
If use_ssl_30 = True Then intValue = intValue + 32
If use_tls_10 = True Then intValue = intValue + 128
If use_tls_11 = True Then intValue = intValue + 512
If use_tls_12 = True Then intValue = intValue + 2048

If close_internet_explorer_first = True Then
	With CreateObject("Shell.Application").Windows()
		For I = 0 To .Count - 1
			J = 0
			If .Item(J).Name = "Internet Explorer" Then
				Call .Item(J).Quit()
			Else
				J = J + 1
			End If
		Next
	End With
End If

Set WshShell = CreateObject("WScript.Shell")

strKey = "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\SecureProtocols"
strType = "REG_DWORD"
WshShell.RegWrite strKey, intValue, strType

If display_done_message <> 0 Then 
	WshShell.Popup "Done.", display_done_message
End If

If restart_computer = True Then 
	WshShell.Run "shutdown.exe /r /t 0", 0
End If
Hey, thanks! I wasn't expecting anyone to actually do it, just what would be best. It actually was pretty simple to do by creating a GPO on the domain controller.
My System SpecsSystem Spec
Reply

Thread Tools




Similar help and support threads
Thread Forum
How can I change Network Adapter Settings pre boot?
I have a locked laptop and I need to change the settings to automatic IP addressing, so I can connect to the domain and log in.
Network & Sharing
NETWORK ADAPTER- cant change advanced settings from 802.11d
Hey, This is my first post here or anywhere relating to my computer problems. I am going into Computer>manage>device manager>network adapters>my adapter>rightclick>properties>advanced and I am trying to change the "property" from "802.11d" to "wireless mode" (under value next to "wireless...
Network & Sharing
Help needed in creating a script to change certain Windows 7 settings
Morning, afternoon and or evening ladies and gentlemen. Glad to be a part of the forums. As the title of the thread implies, I would like some help in creating a script or scripts to change a few settings in windows instantaneously with a single keystroke, command or perhaps using specific...
General Discussion
Network settings wont listen to me. Change by themselves
I'm connecting my laptop with w7 pro x64 to a digital player via lan the computer doesnt ask me what kind of network it is? why? it names it unidentified so i cant share files to it and why are the options from public advanced settings changing exactly like private setting? i want sharing...
Network & Sharing
Script to change power settings
Greetings, I am attempting to temporarily disable hibernate and make sure the monitor doesn't go off while I am running a script to complete system configuration. control powercfg.cpl -monitor-timeout-ac 30 control powercfg.cpl -monitor-timeout-dc 30 control powercfg.cpl /hibernate off
Performance & Maintenance


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd

All times are GMT -5. The time now is 16:47.
Twitter Facebook