![]() | Register | FAQ | Members | Social Groups | User Map | Calendar | Search | Today's Posts | Mark Forums Read |
| Notices |
Windows
Windows forum sponsored by |
| | | LinkBack | Thread Tools | Search Thread | Language |
| Sponsored Links |
| | #1 |
![]() Join Date: Nov 2007 Location: Cheshire
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0 | New to educational enviornment but not IT (Been in WAY too long!!! lol). I am on the steep learning curve with a few things but could do with some help with adding a reg key via a KIX script. We have a ligin.kix that runs and maps drives, and writes certain reg entries. I want to add a website tothe allowed popups reg entry on all machines. Trouble is when I tried to do this, I broke the script! The script did not run anything after the entry. Soooo, Can anyone give me an example of what I should be putting? Here is the script that we use (remember that I have JUST taken over so still in the ' if it works LEAVE IT and sort out the fires! mode). Alan ; Zentek Computers ; Kix 2000 Script ; To Allow Changes at " Current User " ; Maps Drives , Changes Local Printers , Changed Registry $local="c:\local.prt" break off ; Mapping drives for Win2k,WinXP and Win9x use p: "\\server\apps$" use s: "\\server\classwork$" ;if ingroup(NoInternet) WriteValue("HKEY_CURRENT_USER\Software\Microsoft\W indows\CurrentVersion\Internet Settings","ProxyServer","127.0.0.1:8080","REG_SZ") ENDIF ;if ingroup(NoDownloads) WriteValue("HKEY_CURRENT_USER\Software\Microsoft\W indows\CurrentVersion\Internet Settings\Zones\3","1803","00000003","REG_DWORD") ENDIF ;Execute local Printers call $local |
| |
| | #2 |
![]() | Hi there and welcome to the wonders of education IT!! Can you attach the kix script itself to a post please? I think I can see where it is going wrong but with the formatting of the forum it's making it a little hard to read. Also I'm not sure if that is all the script being shown or if theres more. Steve |
| |
| | #3 | |
![]() Join Date: Jan 2007 Location: Enfield, London
Posts: 146
Thanks: 6
Thanked 2 Times in 2 Posts
Rep Power: 5 | Quote:
| |
| |
| | #4 | ||
![]() Join Date: Nov 2007 Location: Cheshire
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0 | Quote:
I havn't! this is the script as it stands now. As it happens, I have used GPO to do what I am after, but I would still like to know how to add things to the KIX scripts. Alan | ||
| |
| | #5 | |
![]() | Basically any line that has a ; before it is treated as a comment. From the code that you have posted, I think what you are after is: Quote:
Steve | |
| |
| | #6 |
![]() Join Date: Apr 2006 Location: UK
Posts: 503
Thanks: 10
Thanked 8 Times in 7 Posts
Rep Power: 8 | I used to love Kixstart |
| |
| | #7 |
![]() Join Date: Nov 2007 Location: Cheshire
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0 | Thanks for the replies. Can anyone reccomend, or point me to any books/white papers/downloads on these scripts and examples? Alan |
| |
| | #8 |
![]() Join Date: Jun 2005 Location: East Lancs
Posts: 3,920
Thanks: 2
Thanked 37 Times in 31 Posts
Rep Power: 21 | You may want to look at converting to VB script. Theres nothing in that script that couldnt easily be ported over. There is plenty of VB script knowledge and examples on this site. |
| |
| | #9 |
![]() | |
| |
| |
| | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Best script ever! | Zabu | Scripts | 0 | 07-11-2007 12:48 AM |
| Logon script & Printer script question. | Galway | Windows | 3 | 29-08-2007 11:00 AM |
| Script library | FN-GM | Comments and Suggestions | 1 | 21-08-2007 03:08 AM |
| Does anyone have a script... | wesleyw | Scripts | 4 | 05-07-2007 01:58 PM |
| Script to get all file on a url | Midget | Scripts | 5 | 23-01-2007 02:10 PM |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search Thread |
|
|







