Jump to content

srochford

Members
  • Posts

    3,226
  • Joined

Everything posted by srochford

  1. Definitely add the name of the printer to the DNS - you then configure your computers to print to myprintername.sch.uk rather than 192.168.1.25 If you do need to change IP on the printer then you just change the DNS settings and restart the PC (or ipconfig /flushdns but "turn it off and on again" is much easier to explain!) In a one server setup it's hard to get resilience but I would have thought that if the fileserver was down then you probably don't have much to print (or are people storing all their stuff locally??)
  2. Never been to a Sikh wedding but I would expect it to be really good - the Sikhs I've known like good food and lay on vast quantities of it! I was walking past one of the temples in Southall a while ago and they were obviously getting ready to feed a lot of people. Outside the temple people were sitting peeling onions on an industrial scale (ie several 25kg sacks of onions) and putting them in the cooking pans that are bigger than the average bath.
  3. If you just type "net share" do you see the list? If you type "net share > %temp%\shares.txt" it should write it to the temp folder - then try "type %temp%\shares.txt" to see the contents (leave out the quotes!) If that works, it sounds like permissions aren't allowing you to write to c:\ Are you running this on the server?
  4. That's why property prices are falling! I'm going to complain to someone about this :-)
  5. Sorry - I should never write code from memory (now I'm old it just doesn't work :-)) should be: if file.fileexists("c:\wsus.flag") then file.deletefile "c:\wsus.flag", true (first bit is a function so uses brackets; second bit is a method so doesn't need brackets. The "true" just says "force delete of file" and is probably not necessary)
  6. Quite a fun idea, but isn't this basically a pencil but instead of being very cheap and made from wood and graphite it's very expensive and made from some kind of metal alloy??
  7. The interview I just heard on Radio 4 made pretty much all the points you make in your first paragraph. There's an awful lot of road safety stats which can be very misleading. For example we may have fewer deaths/injuries on the roads but that may not be because driving is getting better but rather because pedestrians and cyclists are staying away from the roads so are not there to be killed by motorists.
  8. No problem :-) You need to have a group policy object configured for all your workstations - I don't know how your AD is configured but I'm guessing that you'll have some sort of top level OU under which you have all your desktop PCs and you either have an existing GPO which you can reuse or you can create a new one linked there (for testing it may be easier to have a new one linked to an OU containing just a test PC) When you edit the GPO you'll see 2 main sections - computer config and user config; you want the first one. Expand that until you see "Windows settings" and then "scripts (Startup/Shutdown)" Click on that and then double click shutdown - you're now looking at the details of scripts which will be run when machines in the OU where this GPO is linked shutdown - I'm guessing there's nothing there. Click on "Show files" - you'll see a folder where you can put the script you've written. Now click the "Add" button and browse to find your script. OK out of the whole process. The next time a machine in that OU shuts down it will run your shutdown script - assuming the flag stuff works then actually nothing much will happen. Restart the machine and this time force it to shutdown with your server side script. This time it should process the updates and write its log. Hope that's clear - it's taken me about an hour to write this because I'm doing about a million other things - but shout if it's not :-)
  9. Do you have shutdown scripts configured in active directory for your machines? (this is what I thought you meant by a "shutdown script") If so, you could put the windows update stuff in there. You might not want it to run every time the machine shuts down, only if it's triggered by the remote shutdown process. One way of doing that would be for the process on the server to write a flag file on the workstation. that's then looked for by the shutdown script; if found, it does the updates and deletes the flag, otherwise it just exits. In the server side script you would have: sClient = oTS.ReadLine set oFlag=ofso.createtextfile("\\" & sClient & "\c$\wsus.flag",true) oFlag.writeline "run updates" oFlag.close This bit will put a file called C:\wsus.flag on the remote machine The update script would be basically what you have now but at the start you would do: Set File = CreateObject("Scripting.FileSystemObject") if not file.fileexists("c:\wsus.flag") then wscript.quit Set LogFile = File.OpenTextFile(sLogFile, 8, True) - extra line checks for flag and quits if not there. finally, you need code after the updates are installed to remove the flag: logfile.close if file.fileexists("c:\wsus.flag") then file.deletefile("c:\wsus.flag",true) and that last line does that.
  10. No :-) If you're running this is a machine shutdown script, why are you trying to read a list of PC names? If this is running at shutdown, surely you only want to check the machine it's currently running on? the stuff which creates the updatesearcher etc looks fine but it's only going to run on the local machine. The stuff to do the shutdown isn't necessary if you put this as part of your shutdown script - basically, the script should run, install updates and once it quits the normal shutdown process takes over. If what you want to do is have a script which runs (say) on your machine and forces a batch of machines to check for updates then it's a bit more complex - I don't think there's a way of using WMI to remotely kick off the search for updates process but you could have a script which is copied to the remote machine and then forced to run.
  11. Check the info here You Had Me At EHLO... : Exchange Server 2007 Out of Office (OOF) for Exchange 2007 setup - there are lots of options about what messages go out of the organisation. An earlier version of Exchange (5.5? 2000?) was very broken - it sent replies to every message, even those flagged as "bulk", "mailing list" etc which shouldn't get auto-replies - but from (I think) 2003 onwards the defaults if you turn it on are fine but it could be turned off by default (or, if you didn't set up this server, someone might have turned it off "for safety")
  12. You've written it in VB.Net but SQL 2000 has no way of working with this - I seem to remember it's pretty much VB6 Does it have to go in DTS? Can't it just run as a standalone program outside the server?
  13. Thus (THUS, a Cable&Wireless Worldwide business), BT, Colt, Virgin all worth trying. Many companies seem to have a "local" base but can supply anywhere - I think they just resell another suppliers line. You absolutely want fibre for that bandwidth - copper isn't going to work!
  14. I've never seen any specific guidance (eg I know that we require students doing Math Finance MSc to have their own laptop but the details here Programme structure say nothing about the spec of that machine; I also know that people turn up with all sorts of machines! Part of the fun of working in a uni is taking a computer with Windows running in Greek and with a fixed IP address and getting it to work on our wireless network!) I think that pretty much any current spec will be good enough. Our Maths PhD students are currently being given Latitude E5410 with Core i3 CPU (M350; 2.27GHz) and 4Gb of RAM if that's any help (we buy them with 3 year warranty and all-risks insurance which covers everything except the battery) If you can afford it then buying a machine like a Latitude is better than the Inspiron; they're much better built and when the cooling fan gets clogged with fluff (it will...) it's a lot easier to take the Latitude to pieces :-)
  15. You can create a prf file using the Office Custom Installation Wizard (ideally, you do this before you deploy Outlook but you can deploy the prf file later) Quick google finds Create an Outlook Profile file (*.PRF) which should get you started.
  16. Are you running this as part of the machine startup/user login process (ie you're pulling files from a server to the local workstation) or are you running it on the server (or your own machine) and pushing files out to clients? If it's the former, then it's easy - the OS can tell you where the user profiles are. If it's the latter then you can use the WMI stuff linked to by @jinnantonnix; - you just change the "." (which means "local computer" to the computer name. That will then give you the OS name and you can then work out where to put the files. I would definitely go with machine startup or (probably even easier) user logon - what are you trying to achieve?
  17. I think most times this question comes up the answer is the same - Reset the file permissions on homedrives - Wiki I know the title says "reset permissions" but it also shows you how to set ownership.
  18. Just seen this in today's Guardian - some ideas for solo travel Travel solo, never alone | Travel | The Guardian
  19. Oops! I do know Sydney is in Australia - I just looked at the wrong person (well, that's my excuse :-))
  20. I've seen this before when you've linked two switch ports - not sure why DHCP traffic seems to predominate rather than anything else. Given that you've just been installing new stuff, is it possible that you've somehow patched wrongly???
  21. Can you just delete them? That's the simplest way to get rid. There is also a group policy setting to not show icons from the all users profile on the desktop and start menu.
  22. It's not just about being admin - there are still loads of settings in HKCU which don't roam unless you have a roaming profile - eg Outlook settings (which server and so on) are stored there. No big deal, you can have auto-configure but it means I can't just click on Outlook and read my mail; I have to wait 30 seconds or so.
  23. These are the ones we use - Kensington Easy Riser Notebook Cooling Stand With Smartfit (60112) - dabs.com £10.43 each so price is good and they work pretty well - we issue them with keyboards and laptops so the students can use them like a desktop PC but also have the ability to take the laptops home. Can't find a source in New Zealand but I think Kensington stuff is available world wide??
  24. I thought recycle bin was normally on by default for redirected folders like this? Folder Redirection & Recycle Bin might help - it's actually about turning off the bin but you ought to be able to reverse the process. The key word is NukeOnDelete which is one of the better registry names :-)
  25. What do you want to see? Architecture? Parks/Gardens? Museums? Rivers? Markets/shops? Are you looking to stay in places or just go on days out? Where do you live now (if you're near a major railway station there are loads of places you can do for a day out; if you're in rural Wales it's a lot harder to go to different places (but then you have got lots of countryside on your doorstep!) I like London; I've now lived here for 23 years and still find new places to explore so I'm sure you can fill up a summer holiday :-)
×
×
  • Create New...