Everything posted by imric
-
Dell Battery Replacement Script Help Required
Hi Kev, I've had a quick glance at the script code (quick as I'm a little ill today and don't want to do any head work ). From what I can see the problem is when your checking for the file to exist. ' Check that the strFile Fileexists If objFSO.FileExists(strDirectory & strFile) Then Set objFile = objFSO.GetFile(strDirectory & strFile) Else Set objFile = objFSO.CreateTextFile(strDirectory & strFile, True) End If Your checking for the file to exist... if it exists it connects to the file, if it doesnt exist it creates the file... and that's it. It doesnt connect to it once its created the file. I could be wrong though :| like i said I'm not at 100% today
-
ADSI Scripting Help needed
Did you try to run the file using the runas command? Perhaps creating a batch file to call the .vbs will do what you want? Here's an example: runas /profile /user:domain\username "cscript.exe c:\vbscript.vbs"
-
ADSI Scripting Help needed
I'm not sure what you're exactly trying to do but here is a script that should do it: Option Explicit 'On Error Resume Next Dim strComputer, strUser, strGroup Dim objGroup, objUser strComputer = InputBox("Please enter a computer to connect to:", "Enter Computer Name") strGroup = "Administrators" 'Add ICT-Desktop Support to the administrators group. strUser = "ICT-Desktop Support" Set objGroup = GetObject("WinNT://" & strComputer & "/" & strGroup) Set objUser = GetObject("WinNT://domain/" & strUser) '###change domain to your domain objGroup.Add (objUser.ADsPath) 'Remove Domain Admins from the administrators group. strUser = "Domain Admins" Set objGroup = GetObject("WinNT://" & strComputer & "/" & strGroup) Set objUser = GetObject("WinNT://domain/" & strUser) '###change domain to your domain objGroup.Remove (objUser.ADsPath) Wscript.Echo "Done."
-
What video/audio player do u guys use?
Winamp / iTunes for music, Windows Media Player 10 for vids, PowerDVD / VLC for DVDs.
-
network extension
I would try moving the 3rd switch within 100M of the 2nd (or place a repeating device about half way between), this way you can test to see if it still has problems at night. If the problems still occur then you will know it is not the cabling between the two points. (process of elimination)
-
network extension
Ok, cat5 cable has a maximum length of 100M (well, just under) so that would be why you are having trouble. Degradation occurs after 100M so this would explain the unusual behaviour. You'll need a repeater or a repeating device to extend the range. Or move the 3rd switch within 100M of the 2nd.
-
network extension
How is the 3rd switch attached to the 2nd? with Fibre i assume?
-
Can i send files via LAN ?
You dont need server2k3, if you goto control panel > add/remove programs > add/remove windows components you will be able to install IIS there.
-
IE 7.0 and Windows Update
I have found something similar using the SUS server web interface, when I click the links in the left hand frame, it opens the pages in that frame also. I assume that this is a bug with the beta.
-
straight vs cross-over
Just to add to chilifrei64's comment, to clarify; router to switch -> straight through
-
straight vs cross-over
PC > Switch = Straight Modem > Switch = Straight PC > Modem = Straight PC > PC = CrossOver As said above, a crossover cable attches two devices of the same type.