Jump to content

eyeball

Member
  • Posts

    1,147
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United Kingdom

Everything posted by eyeball

  1. HI Gsm, the info is displayed fine and i will look for spelling mistakes after i hav posted this...l i ran this on virtual pc (i have a server and a client running on their own mini network so no outside interferance) and on both it gave me an error, could be something to do with the fact they are on a domain? anyway it is: line - 175 char - 15 error - 0x8024402c code - 8024402c source (null) for some reason my notepad has "goto" greyed out so i cant even check what line this is :S
  2. wow this is looking amazing! the software is in there too! gonna try this on a domain soon (not now its nearly 2 in the morning lol) but im sure it will work fine for interrogating remote pc's. also ill find out the port it uses whilst im at it really this is great i love it
  3. ok no probs and welcome to the boards
  4. cool! the script by cluberti is even easier to read and its briliant! great job guys
  5. dont have dhcp on if you want manually set IP's and if all three are using the router for internet access turn NAT on on the router. from the server ping the router and if that works get the ip of google infact ill give you it 66.249.93.104 ping that and see if it replies, if it does then indeed dns is your problem. check the nic settings on the server and make sure its using the router for dns and then check the router and make sure it either has your isp's dns servers in there manually or its retrieving them on its own hope this helps
  6. YES!! thank you Cluberti! thank you thank you. restricted groups worked perfectly
  7. log on as local admin and open printers and faxes and go to file -> server properties and see if the driver is still listed, if it is remove it. see if that works. if not write a login script for the user/s that deletes the printer
  8. thats fantastic! cant wait to see it running remotely as well it will be very cool indeed now theres just the other few WMI's to interrogate and the remote part to add and its nearly done right? also can you just confirm my suspicions?...if this was running remotely i think this would use port 135 is this correct? thanks
  9. Hi, tell us the ip of all the devices including the router (obviously the internal range) and we will try to help you a bit more
  10. this is really annoying me!! i have the machine account with the access it needs but when i boot up the client i get an error saying there is something wrong with line 15, but iv checked and no there isnt. iv also logged on as the administrator on the client and ran the script and its fine. this is driving me crazy iv spent like 2 hours on something as small as this, please help me!
  11. sorry i was doing from active directory and setting this as the user logon script. ok ill try it from group policy thank you so much cluberti EDIT: iv been trying for the last hour to do this and im getting nowhere, the script doesnt run or throws an error out or in the event viewer i get an error saying that access to the script was denied even tho the user clearly has access. iv run this from the admin account on the machine and it works perfect, so i must be doing something wrong, can anyone help please?
  12. Gunsmokingman that is awesome! the hard drive information reports the physical hard disks and then you have the partition information showing the logical disks! just wow also the new look of the output is great! it looks rather professional if you dont mind my saying so i think from that output there would be no need for a section that gives you a list of all hardware, its all there within the output anyway and since its so nicely structured its no problem to find it if you ever needed too. thanks Gsm you are too B) cool!
  13. excellent cluberti! thanks a lot i am working on learning VB script honest! slowley but surely, that and revising for my 70-290, man theres a lot of stuff to learn but indeed scripting is the way to go, it makes the difference between an hours work and hours of work lol thanks again EDIT: iv just tried this with a virtual server and client and when the user logs on i get: line: 30 char: 1 error: general access denied error code:80070005 source: active directory can anyone tell me why please?
  14. i totally value what you say cluberti as you are so experienced, can you tell me why please? what if its a small(ish) company (30 users) and they have for example server 2003 standard as a DC running exchange? surely of it had say 2 Xeons and around 2-3 GB of ram it would be ok wouldnt it?
  15. Hi all, i want to add each user that logs on (in a domain) to the local administrators group on their machine i found i could do it with "net localgroup" but it requires that you have the right to add yourself to local admins and without actually being one its impossible i could use a "runas" command in the login script but the password would be in plain text in the script does anybody have a way around this? thanks
  16. oh right lol of course! thanks Gsm your the man
  17. that output is great! is there a way to save it?
  18. I guess you could script it to leave a text file for each computer it runs against in the network and leave it as a separate text file. Example If you wanted as singel text file with all the computer it ran against. There would have to be a few changes a made so it could break up each computer into section and list each individually. I just wanted to make sure what you need in this, because it might help you check and see what updates are installed on each machine across a network. Question 1:\ Would another WMI class to list hardware devices be needed in the script? 2:\ How about a defrag routine to be run on each computer in the network? This could use Microsoft built in disk defragger. that code for the multiple text files is great, i think its the best way, i kinda liked the xls file the old script gave BUT it couldnt be run from a server as most servers dont have excel on, so text files is the way to go. the thing about the hotfixes... i guess it would be useful now that i think about it... maybe it could give you the following: service pack - 4 number of hotfixes - 13 instead of listing them all it could give you a number because if for example i scanned a pc with xp sp2 and it had 10 hotfixes, i would know (either from this forum or otherwise) that there are around 25-30 hotfixes missing. its just i think listing them all would take up a lot of space, unless you put them at the bottom of the text file? yes a list of all hardware would be very good, instead of looking through the different sections. ill look into this and experiment a bit, i post again later when i find a suitable one. the defrag is a good idea but would it add a scheduled task for this? or just run the defrag when the script is run?.... actually a totally seperate script that could remotely defrag would be awesome i might start on it.. no seriously we have to consider the implications of this. thanks Gunsmokingman EDIT: ok iv looked at listing hardware and found there is no WMI that is capable of listing all hardware so using different WMI's to list each one individually and then putting them all together. i shall have a go at creating a script that outputs this to a text file and post back later
  19. Hi, 1) yes the info is perfect 2) i think just service packs will suffice, would u have the need for hotfixes installed? if i ever did have the need for this i would prob just use systeminfo from command prompt with the remote switch 3) from a programming point of view a text doucment is much easier, how would a text doc work when scanning multiple pc's? would it create a seperate one for each pc or put it all in one document? thanks EDIT: i had chance to read through your script and it makes it soooo much easier to read because its so organised, i have a much better understanding thanks to you
  20. thats fantastic! the output is excellent and very structured and easy to read! one thing..... you need to take my name out of it, you deserve all the credit but seriously this is going to help so much if i can use it to audit entire networks in a single (or double click) lol thank you
  21. yeah i did try that new one Gsm and its great i cant wait for the full one! also rougespear i noticed that too as i had a win 2000 server that cpu z couldnt detect the motherboard as it was too old but through WMI i could get it, so im not exactly sure what it uses
  22. hi Gsm ok that sounds like a good idea, this list will just be a basic one, if you can think of any more WMI's to add in that would be useful then please add them . ok heres the list with the value and the WMI class it comes from: pc hostname - win32_NetworkAdapterConfiguration domain + role- win32_computerSystemProduct Make, Model + Serial Number - win32_computerSystemProduct Total Ram - from Win32_logicalMemoryConfiguration ****also would be nice to know how many memory slots the board has and which ones are used and which ones are empty cpu-z can do this and i dont know how OS + ServicePacks - from win32_OperatingSystem Bios Revision - from win32_Bios or win32_systembios Processor Type - Win32_Processor ***dual core show up as 2 cpu's, and i cant find a way around this**** logged in user - win32_computersystem NIC Model (1-4) - win32_NetworkAdapter sn mask, d g/w, IP, MAC address - win32_NetworkAdapterConfiguration Hdd space + names + number - win32_DiskDrive also win32_DiskDrivePhysicalMedia tells you the number of physical disks in a system Partition Info for each disk drive - win32_DiskPartition (shows partitions and their sizes! - v useful) page file location+ size could be useful - win32_pagefile scsi controller make model - win32_scsiController - v useful for servers show tapedrive make + model - again useful for servers found from win32_tapedrive thats all Gsm hope this isnt too much, and if theres anything i can try to help with i will thank you so much hopefully almost everyone on the board will find a use for the final script and not just us two
  23. thanks for the help RogueSpear much appreciated and gunsmokingman im sorry i didnt mean to sound rude when i said you left out the best bit im glad you are putting in and glad you are having a look at the script, i hope you find it of some use to you in the future
  24. thanks GunSmokingMan thats great start, certainly is more organised but you cut the best part of the script! - the output to a .xls, unless you were going to implement this later? anyway that definately gives me something to work on, and im confident i could add more WMI's in there, the only thing i would have trouble with would be arrays like i say. thanks for the help
  25. is this being used in a login script in a domain? or just a workgroup? net use l: \\192.168.x.x /user:domain\administrator "password" should work perfect for domain situations and net use l: \\192.168.x.x /user\administrator "password" that should work for workgroups (assuming that the local admin password on the one you are mapping the drive from is the word "password") let us know any errors you get thanks
×
×
  • Create New...