burgemaster
Members-
Posts
1,005 -
Joined
Content Type
Forums
News
20th
EduGeek EDIT Conference
Blogs
Everything posted by burgemaster
-
Also here is the "Computer startup script" used to set location. In this case applying this to the staffroom PCs to set their location to STAFFROOM: rem *** Copy the setx application from netlogon to c:\ *** copy \\SERVER\netlogon\apps\setx.exe c:\ rem *** Apply setx to change or add the location *** c:\setx.exe LOCATION STAFFROOM -m
-
ofcourse, i have removed most of the printers but left a few in there so you can see whats going on: First the script that deletes all installed printers (not local) and then maps printers based on computer location (set in the "environmental variables", eg LOCATION=IT1. We used GP to do this) and also maps printers for individual stray PCs: on error resume next Set shell= WScript.CreateObject("WScript.Shell") Set WshNetwork = WScript.CreateObject("WScript.Network") dim Counter, PrinterPath dim strResult, strLocation, strComputer 'Remove All Network Printers. Const EVENT_SUCCESS = 0 Const EVENT_FAILURE = 1 Const EVENT_WARNING = 2 Const EVENT_INFORMATION = 4 function LogtoEvent (MSG,success) select case success case 1 shell.LogEvent EVENT_SUCCESS, MSG ' 1 is a success case 0 shell.LogEvent EVENT_FAILURE, MSG ' 0 is a error case 2 shell.LogEvent EVENT_WARNING, MSG ' 2 is a warning case 3 shell.LogEvent EVENT_INFORMATION, MSG ' do not use end select end function Set oPrinters = WshNetwork.EnumPrinterConnections FOR Counter = 0 to oPrinters.Count - 1 IF mid(oPrinters.Item(Counter), 1, 2) = "\\" THEN PrinterPath = oPrinters.Item(Counter) WshNetwork.RemovePrinterConnection PrinterPath, True, True End If Next 'Add Network Printers based on Location set in Environment Variables strLocation = shell.ExpandEnvironmentStrings("%LOCATION%") strComputer = shell.ExpandEnvironmentStrings("%COMPUTERNAME%") LogtoEvent "Printer STAFF COMPUTER Script Starting for: " & strComputer,1 select case strComputer case "S21" addPrinter "\\printserver\Music - Photocopier",true case "M12" addPrinter "\\printserver\M11 Mono",true addPrinter "\\printserver\M11 - Colour - CLP-600",false case "EGR-OFFICE" addPrinter "\\printserver\EGR Office - Colour - HP 1510N",true addPrinter "\\printserver\Main Admin Office - Photocopier",false addPrinter "\\printserver\Site Manager - Mono - HP1320",false end select select case strLocation case "A7" addPrinter "\\printserver\A7 - Mono",true case "ADMINOFFICE" addPrinter "\\printserver\Main Admin Office - Mono - HP1320",true addPrinter "\\printserver\Main Admin Office - Photocopier",false addPrinter "\\printserver\Main Admin Office - Colour - CLP-600",false addPrinter "\\printserver\Reception - Mono - HP2015",false case "ART" addPrinter "\\printserver\Art - Mono - ML-2855",true addPrinter "\\printserver\Art - Samsung CLP-510 Series",false case "BURSAR" addPrinter "\\printserver\Bursar - Mono",true addPrinter "\\printserver\Main Admin Office - Photocopier",false addPrinter "\\printserver\EGR Office - Colour - HP 1510N",false case "STAFFROOM" addPrinter "\\printserver\Staff Room - Mono - Samsung ML3310",True addPrinter "\\printserver\Staff Room - Colour",false end select function addPrinter(strConnectString,isDefault) if strConnectString <> "" then LogtoEvent "Adding printer: " & strConnectString,1 strResult = WshNetwork.AddWindowsPrinterConnection(strConnectString) if isDefault then LogtoEvent "Setting printer: " & strConnectString & " as default",1 WshNetwork.SetDefaultPrinter strConnectString end if end if end function LogtoEvent "Printer STAFF COMPUTER script finished",1 runotherscript "\\LOCATION OF OTHER SCRIPT\Printers_USER.vbs" Sub runotherscript(name) Dim oShell Set oShell = WScript.CreateObject("WSCript.shell") oShell.run name, 1, true Set oShell = Nothing end sub Then the script that is called by the fist script that maps printers based on user group membership: 'Printer vbs for logon script On Error Resume Next Set shell= WScript.CreateObject("WScript.Shell") Set WshNetwork = WScript.CreateObject("WScript.Network") dim Counter, PrinterPath dim strResult, strLocation, strComputer Const EVENT_SUCCESS = 0 Const EVENT_FAILURE = 1 Const EVENT_WARNING = 2 Const EVENT_INFORMATION = 4 function LogtoEvent (MSG,success) select case success case 1 shell.LogEvent EVENT_SUCCESS, MSG ' 1 is a success case 0 shell.LogEvent EVENT_FAILURE, MSG ' 0 is a error case 2 shell.LogEvent EVENT_WARNING, MSG ' 2 is a warning case 3 shell.LogEvent EVENT_INFORMATION, MSG ' do not use end select end function wscript.sleep(1000) '1 second 'determines the user who just logged on Set objSysInfo = CreateObject("ADSystemInfo") Set objNetwork = CreateObject("Wscript.Network") strUserPath = "LDAP://" & objSysInfo.UserName Set objUser = GetObject(strUserPath) LogtoEvent "Printer STAFF USER Script Starting for: " & objSysInfo.UserName,1 For Each strGroup in objUser.MemberOf strGroupPath = "LDAP://" & strGroup Set objGroup = GetObject(strGroupPath) strGroupName = objGroup.CN LogtoEvent "Staff Member is in group: " & strGroupName,1 'Mapping of printers by group and set default printer for that group Select Case strGroupName Case "All Staff" objNetwork.AddWindowsPrinterConnection "\\printserver\Reprographics - Mono" objNetwork.AddWindowsPrinterConnection "\\printserver\Reprographics - Colour" Case "Dolphin College" objNetwork.AddWindowsPrinterConnection "\\printserver\Dolphin - Office Mono" objNetwork.AddWindowsPrinterConnection "\\printserver\Library - Colour - CLP600" Case "ICT Teachers" objNetwork.AddWindowsPrinterConnection "\\printserver\Maths ICT Office - Mono" '==========Add addtional case sections for each group above================ End Select next wscript.sleep(100) '0.1 second LogtoEvent "Printer USER script finished",1
-
Thanks all, Took a lot of work, but we now have all printers on UPDs. Photocopiers still use the speciic drivers as the UPDs didnt support some of the features. Only 6 print drivers installed. We also completely re-did the printer deployment. Before we were using GPP to deploy the printers, but this on windows 7 was dreadful, as all the printer installations were done before the user logs in (synchronous) when some staff with a large number of roaming printers (eg cover supervisers) it would take an age to login. It would sit there at "Processing Group Policy Printers Preferences" until the printers were completely installed. We ditched GPP for printers and went back to a VBS scripts. The scripts run after logon so the logon times have been drastically reduced! A massive improvement, staff should really notice the difference. The two scripts have full event logging, the first installs printers based on Computer location (e.g. IT Suite1) and also individual PC names, the second script installs printers based on group membership. The targeting with GPP was great, but everything is covered in the scripts. Thanks for advice.
-
As per title, we have all HP Procurve network, and 32 x Panasonic IP cameras. I have been reading some posts saying that IP cameras should be always put on a VLAN to stop traffic (multicast?) flooding the whole network and hence slowing down the rest of the network. Could anyone please advise? 1) Would segregating the cameras to their own network reduce traffic on the main network? 2) Would this be a noticeable improvement?? Thanks in advance
-
Can anyone please advise, We have just under 60 network printers on our print server. They are all either Canon, HP or Samsung. Currently they each have the individual model driver installed for each type/model printer. Meaning we have about 25 different drivers installed. I have now installed three additional drivers, the Canon/HP/Samsung Universal Print Drivers. All printers work with these 3 drivers. Can anyone please suggest before I move all printers over to these 3 drivers and remove the old 25, if this is advised? Would it decrease login time (as a staff member with say 8 different printers would need only 2 drivers installed instead of eight?) Better for the server? UPD driver as fast as individual drivers etc? Thanks in advance!
-
5.1.4.3 - deployed to one IT room - Publisher/Outlook all crashed on boot PCE now being removed from the network with the PCEREMOVE script We use ePortal and Sophos - Sophos 10.5 on the eportal server caused daily crashes. Are you all suggesting that Sophos 10.5 isnt playing nicely with eportal on the end users machines when they access ePortal through the browser? Is PCE also not playing nice with ePortal? After Sophos`s recent blunder now this, what a mess..
-
I put All of 56 printers in one Gpp, located right at the top with default domain policy. Spent hours getting all the right printers deploying to the right users dependant on location, ad group, computer name etc.... Worked, but it spent about 55sec on all win 7 machines saying "waiting for group policy printer policies" Have had to ditch it and go back to a mixture of smaller gpps and scripts. . . . Server is 2008 but domain level 2003r2 .. Could this maybe be a factor? Also only 2gb RAM on the print server (virtual)
-
We have a self hosted Ubuntu server with a Wordpress front end. For some reason any files that are were uploaded to two folders have problems downloading? When the user tries to download any files from the "09" folder it gives the save/open box but as soon as "open" is clicked it hangs saying "Downloading: www.xxxxxxx". If you press escape the download stops and the file loads successfully? We have checked permissions on all files folders and parent folders and matched them to a working file/folder? Can anyone please suggest what could be causing this hanging? Thanks in advance. BAD UPLOAD FOLDER/FILE: http://www.thedash.org.uk/wp-content/uploads/2011/09/9-East.doc WORKING UPLOAD FOLDER/FILE: http://www.thedash.org.uk/wp-content/uploads/2012/08/Contents-Page-Template.docx
-
One of our physical 2008 r2 servers was setup with the o/s partition on one single drive when it should have been mirrored on 2 hdds !! This should have been done in the raid controller before installation but either it was missed out or configured incorrectly, so now we the main c drive on one single disk and the 2nd disk sat doing nothing. My question is, can the system partition be converted to raid1? Dell says no? Can anyone please advise?
-
Followed the guide from their site: http://www.google.co.uk/url?sa=t&source=web&cd=1&ved=0CFQQFjAA&url=http%3A%2F%2Fdownload.lenovo.com%2Fibmdl%2Fpub%2Fpc%2Fpccbbs%2Fthinkcentre_drivers%2Finstalling_retail_windowsxp.pdf&ei=lNcgUKDYJsn80QWx4YEo&usg=AFQjCNEKV5S9j5LTUvEBggZGZ1k1HazVUg
-
Thanks for advice. Rebuilt the image from scratch and used F6 to add the ahci drivers... all good Tried to replace the old drivers with various methods without success so just rebuilt the image. Thanks again.
-
Great reply! Thank for this. Unfortunately XP is the only option for right now. So can I now add the drivers with AHCI disabled and then create a new image? Then switch ahci back on? Or do I need to install from scratch? Could I add them to a WIM? Thanks for this
-
Hi, Can anyone please advise, we have some pretty new machines with SSD hdd that need sp3 xp imaged onto them. A fresh install gives a blue screen, but I've found that disabling AHCI mode in the BIOS allows it to install. The hard drive in the bios now shows as an IDE drive instead of a SATA? Is the performance taking a hit in this mode? Do I need to maybe load some controller drivers etc? Thanks in advance
-
We have a Wordpress based intranet, where students or staff can login if required.... I have set there homepage to "http://www.thedash.org.uk" and this loads the page just fine. But when they try and login it sometimes refreshes the site and there is no login. Highly likely a wordpress problem somewhere... BUT If i create a shortcut to "http://www.thedash.org.uk" and load it from their desktop it works 100% of the time? Does anyone please know what is the difference between loading a browser and it opening the homepage or loading from a shortcut? Thanks in advance.
-
They are Greyed Out... I have all my settings setup in "Scope Options" and not in "Server Options" is this correct? are ALL of your reservations editable? EDIT: Sorry my bad... You need to first tick the option you wish to edit on the left, then add the amendment!! Doh !! Thanks for all the help guys!
-
Thanks Guys, Ok, ive set them up a reservation in DHCP using the MAC address. Ive tried reserving them an IP both within the Scope and also outside of the scope. When I try and edit the gateway (or any other settings) They all say: "Only reserved client options can be configured here, To configure server or scope options, select the server or scope Options Node and choose configure options" I though this was a reserved client IP ?
-
We have DHCP to point all our workstations to our internal smootwall server (10.50.4.24). This is done with the 003 Router option in DHCP.. This is all good apart from several laptops that the council use, that needs to have a default gateway pointing to the councils broadband server (10.50.4.1) The IP and settings on the laptops cannot be changed as they are setup not to use a proxy and has several settings so that thy can move around between council schools. Using DHCP i can assign a static IP to these laptops, but does anyone know if I can set them a different default gateway? Many thanks
-
I am running the connection test for "Adobe Connect" (Test Meeting Connection) It works perfectly on all XP machines, but with Windows 7 machines I am getting the popup: "revocation information for the security certificate for this site not available do you want to proceed" Clicking OK, brings the popup back up over and over and then it fails the test. Does anyone know why this might be happening? Ive moved the PC/Test User to a blank OU without any GPs applied but no joy.? Is this SSL problems something that maybe needs to be enabled in Windows 7 ? Thanks in advance
-
We have CS3 Web Standard? Only currently installed on XP machines. Would you like me to install and test on a W7 machine for you? EDIT: Just remembered our ICT Teacher has it on her machine, 64bit OS though. If i remember she has had problems with Flash but dreamweaver fine.
