srochford
Members-
Posts
3,226 -
Joined
Content Type
Forums
News
20th
EduGeek EDIT Conference
Blogs
Everything posted by srochford
-
What mail server? If you have Exchange then save this script on your Exchange server and run it. (note that it's using CDO which isn't installed by default on Exchange 2007 but you can download it here http://www.microsoft.com/downloads/details.aspx?FamilyID=E17E7F31-079A-43A9-BFF2-0A110307611E&displaylang=en) The sInput specifies the text of the message you want to send as an HTML file; sFrom will appear as the sender's email, sSubject as the subject (!) and sAttach is the name of the attachment. sList is the name of a plain text file containing the email addresses to send to (one address per line) When you first run it, it will send an email to "[email protected]" - change that to a suitable test address! When you're sure it works, change "boolSendAll=false" to "boolSendAll=true" If you don't run Exchange then look at something like Blat (happy mailing : Blat online) and a script similar to the one below but calling Blat in the sendemail sub. sInput="c:\temp\email.htm" sFrom="John Smith" sSubject="End of term newsletter" sAttach="c:\temp\newsletter.doc" sList="c:\temp\people.txt" boolSendAll=false Set oFso=createobject("scripting.filesystemobject") sendmail("[email protected]") set oFile=oFso.opentextfile(sList) iSent=0 do while not oFile.atendofstream sEmails=oFile.readline if boolSendAll then sendmail sEmail loop oFile.close wscript.echo "Sent " & iSent & " emails" Sub sendmail(sEmail) iSent=iSent+1 Set objMail = CreateObject("CDONTS.NewMail") objMail.From = sFrom objMail.to = sEmail objMail.subject = sSubject ObjMail.BodyFormat = 0 ObjMail.MailFormat = 0 objMail.body= strResults if sAttach<>"" then objMail.attachFile(sAttach) end if objMail.Send wscript.echo "sending mail to " & semail & vbCrLf End Sub
-
It should "just work" - the Windows clients will expect to get their time from a DC so if the 2008 R2 box is a DC then it will be a time source.
-
"Mr Osborne refused to set out which IT projects this would mean." Classic politician - "we're going to save money by scrapping waste but we're not going to tell you where that waste is because you might check our figures" I'd guess we have to just trust him. After all, politicians never lie, do they :-)
-
Agreed with @hightower! I find it quite scary that you're keeping anything much as paper at all! Surely any documents you've created ought to be stored in just electronic form. Anything sent to you as paper ought to be scanned and stored. Or does this mean you think that your own IT systems are so poor you can't trust them for storing important data :-)
-
Yes :-) If you give us a bit more of a clue about what you're trying to do then it may be easier :-) but as a start, let's assume that you have a top level folder called "students" and in that you've got "student1", "student2" etc and you want to put "new_folder" in each of these and give that folder the same access as the parent folder but also give write access to the group called "special_users" Let's also assume you can map to that top level folder as \\server1\students You can do this as a batch file: net use z: \\server1\students z: for /d %%i in (*) do md %%i\new_folder for /d %%i in (*) do cacls %%i\new_folder /e /g special_users:c - first 2 lines I hope are easy. Next line steps through each directory in turn and creates "new_folder" under it. Final line steps through the directories again and this time edits the permissions to add the special_users group
-
Folder Redirection - Another Way?
srochford replied to Techie101's topic in Windows Server 2000/2003
Download the group policy management console (http://www.microsoft.com/downloads/details.aspx?FamilyID=0A6D4C24-8CBD-4B35-9272-DD3CBFC81887&displaylang=en) and install it on an XP machine and use that to manage your policy settings. There were loads of new policy settings introduced with XP and I think that the wait for network at logon was one of those which is why you can't set it with the Windows 2000 adm files I've now completely forgotten how you do this but when you run GPMC there's an option to add the local adm files which will already be on the XP machine to the server (it doesn't matter that it's a 2000 server - all it does is store the files, it doesn't do any processing on them) You should then be able to set the necessary setting and, hopefully, your folder redirection will work. -
Be honest. Say something like "I know I've not worked in a school, but I am aware of the differences between school IT and commercial IT - eg every pupil logging on at the same time, need to keep machines locked down against tampering, need to deal with very urgent requests (users can't just have a coffee break or do a bit of filing if the computers don't work)" After the interview, the panel will go through each candidate. Some will be complete non-starters (cringes at the memory of some of teh candidates I've seen) but typically there will be 2-3 people who are pretty good. At this job level, the panel will probably have a check list and they'll tick off or score each item for each candidate. When they get to the bit about experience they should be able to say "well, that guy moobsuk hasn't worked in a school before but he looked like he knew more than the others about what school is actually like so we can tick this box" Good luck!
-
Not quite sure what you're doing, but $opt["subjectid"] is looking for the item in the array called subjectid eg you can do: $opt["chemistry"]=1; or $opt["physics"]=0; if you've got an array $opt[] which has items corresponding to option subjects and values to go with them (perhaps ticked yes/no)
-
Just had an invite pop up in Outlook for the ICT Christmas bash - is this a record or have other places already got theirs organised? (Perhaps you have yours in January when the crackers etc are cheaper??)
-
OK; in that case you don't need to worry about things like login scripts not working so I would just block the scripting host stuff: cacls %windir%\system32\cscript.exe /r users cacls %windir%\system32\wscript.exe /r users
-
China kind of has compulsory birth control already so we could maybe give them a half mark for that! The onset of puberty has been dropping over the years; it's nowhere near 9 as an average but plenty of girls will reach puberty at that age or even earlier so I think we can probably say that they will get the full mark for that one :-) Semi-voluntary euthanasia is more or less here although it's not encouraged by the department of health (but it is one of Cameron's plans if he's elected - it's a very good way to save money!) I'd actually like to see the withdrawal of cash and notes and a move to a card based economy - very much easier to deal with (eg anyone who uses public transport in London will see how much quicker it is to get on a bus when you pay with an Oyster card than paying cash for tickets)
-
As far as I can see, that will stop my double clicking a .vbs file but it won't stopping me shelling to "cscript xxx.vbs"? It also doesn't seem to stop me from right clicking and then picking "open with cscript" If you really want to stop vbscripts from running I think you need to block cscript and wscript
-
The word you're looking for is "wigga"
-
I think there's a huge difference between dialect and wrong English although I'd guess that wrong usage today may well become normal English in the future - languages do evolve over time. One of my pet hates is the way words are slightly mispronounced which then gets worse leading to misspelling and then a pronunciation to match. The classic example is "would've" that drifts into something like "woulduvv" and then becomes "would of" The nightmare following this is when it goes the other way - somewhere on here today I'm sure I've seen someone use "'ve" instead of "of" which is quite frightening :-)
-
Hello and welcome
srochford replied to danieldainty's topic in Pedantic Geeks's Pedantic Geeks Topics
Definitely a good idea (or do I meen definately, definatly or even defiantly!) -
Except with soldiers - from what I've read, none of the regular forces want a load of unfit, uncooperative, obnoxious teenagers dumping on them!
-
Hillingdon Tories Block £150 million Investment For Local Schools
srochford replied to mattx's topic in General Chat
The trouble is that what you think is an exceptionally good job may not be the same as what I think. Many people will have their views of what's good coloured by what they read in the press. Often, the owners of those papers have a different view of "good" from many average people. For example, the Sun and Times are owned by a billionaire who doesn't live in the UK. The Daily Mail, the Metro papers and many local papers are owned by Viscount Rothermere, a near billionaire "non-dom". The Daily Telegraph is owned by the Barclay brothers - again, non-dom. This can then distort people's views of the political system - I suspect Rothermere et al would like the lowest possible taxes and that's pretty much all they care about so they can slag off anything which any government does, knowing that they don't need the schools, hospitals, roads etc that the taxes may be paying for. If you read in your paper every day about the dreadful state of the country and how it's caused by the current government then you probably start to believe it - even if it's probably not completely true. -
Click the windows button. type "credentials" Choose "manage windows credentials" Delete the one you want to delete. Easily the best thing about Windows 7 is its search facility!
-
Not sure if the "LOL" is what's supposed to annoy us or the fact that you can't spell "grammar"!!
-
Outlook Problem HELP!!!!
srochford replied to joshjacklin's topic in Internet Related/Filtering/Firewall
run wireshark and watch the network traffic from your local machine. You should see what it's trying to do and (hopefully!) spot what it's getting wrong - eg is it trying to contact a DNS server? Trying to connect on port 250 (no idea why!)? Getting some kind of response from the server to which it doesn't respond. Is this something where user A on machine 1 always works but user A on machine 2 sometimes fails (so it looks as if the fault is with a machine) or could user A sometimes work on any machine and sometimes fail on the same machine (so it looks as if the fault could be with the server) or does user A always have problems (so maybe the fault is with the user account)? -
Change the line which says: if ucase(ofso.GetExtensionName(oFile))="DOC" then to if ucase(ofso.GetExtensionName(oFile))="DOC" or ucase(ofso.GetExtensionName(oFile))="RTF" then and you will process DOC and RTF files.
-
OK; so I didn't include the bit saying "don't forget to transfer the roles back" - I kind of assumed that the OP would realise that needed doing!
-
I think the key thing you get with a Mac is a rock solid implementation of Unix and I know that's why a good few people here buy them (doing maths and physics, not media stuff at all)
