Page 1 of 1 1
Topic Options
#204518 - 2012-03-20 04:42 PM New User and need expert advise
Ryan_at_Shasta Offline
Just in Town

Registered: 2012-03-19
Posts: 3
Loc: Oregon
Hello,

I very new to everything scripting, I've always been a PC hardware guy, but have wrote some batch files and small scripts. But i am not versed in it by any matter. We currently use KiXtart to map our drives, by a system that was set up in 2006. We are very behind the times, to say the least.

We are plagued by proxy setting being turned on here. When GP decides to turn on the proxy setting we cannot nav to certain "work" pages until I personally turn off the settings on the users comp. I have found a vbs script that turns off the proxy settings. I would like to get it into the kix script, if possible. I have added a @userid = "myname" to test but I have not got it to work.

I have search the site for information, and have found some things to try. I have aslo read where proxy should not be included in the kix. But Something to make it a bit more easy around here would be nice.

Here is the vbs script
dim oShell
set oShell = Wscript.CreateObject("Wscript.Shell")
oShell.RegWrite "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ProxyEnable", 0, "REG_DWORD"
Set oShell = Nothing

Any help would be great. And thanks for a great program.

Ryan

Top
#204519 - 2012-03-20 04:51 PM Re: New User and need expert advise [Re: Ryan_at_Shasta]
Mart Moderator Offline
KiX Supporter
*****

Registered: 2002-03-27
Posts: 4673
Loc: The Netherlands
Hi Ryan,

Welcome to the board.

Registry stuff is not that difficult in kix. The example below should do the trick for you. In my opinion it would be better to fix the GPO. Fixing the cause is much better than fi9xing the results.

 Code:
$rc = WriteValue("HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings", "ProxyEnable", "0", "REG_DWORD")
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.

Top
#204520 - 2012-03-20 05:50 PM Re: New User and need expert advise [Re: Mart]
Ryan_at_Shasta Offline
Just in Town

Registered: 2012-03-19
Posts: 3
Loc: Oregon
Mart,

Thanks i'll give that a try. I agree with you totally about the group policy change, but "Corp" needs the proxy for other users within the network. And "We" are very few people when you look at the whole picture.

I wish they would take that out of GP. I can't beleive the time we waste shutting that think off every week. And internet problems associated with it. We have a warning page that comes up now, but the users still have a hard time finding the settings!

The Netherlands, nice yummy beer!

Thanks again

Ryan

Top
#204527 - 2012-03-20 08:51 PM Re: New User and need expert advise [Re: Ryan_at_Shasta]
Mart Moderator Offline
KiX Supporter
*****

Registered: 2002-03-27
Posts: 4673
Loc: The Netherlands
Happy to help.

LOL Where I work I'm part of Corp and there would be some explaining to do when people in one of our branches would do something like this. But hey, if there is a valid reason then there must be a better way of doing this with the current GPO and just exclude some people/workstations. We are in several countries in Europe and believe me I've seen some weird stuff and sometimes even scary stuff created and ran by the people so I'm not surprised that easily anymore.

 Originally Posted By: Ryan_at_Shasta

...
The Netherlands, nice yummy beer!
...


Yeah we have some of that but to be honest I’d say Belgium, nice yummy beer or Ireland... or Germany... Everything you can get almost anywhere every day is not special anymore, you get used to it \:\)
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.

Top
#205268 - 2012-05-17 07:52 PM Re: New User and need expert advise [Re: Mart]
Ryan_at_Shasta Offline
Just in Town

Registered: 2012-03-19
Posts: 3
Loc: Oregon
Thanks for all your help Mart, it worked like a charm, with no ill effects from the corp side. I have saved hours/days not having to change the proxy everyday. Thanks again.
Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 793 anonymous users online.
Newest Members
M_Moore, BeeEm, min_seow, Audio, Hoschi
17883 Registered Users

Generated in 0.062 seconds in which 0.016 seconds were spent on a total of 13 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org