kev_147 Posted June 6, 2006 Share Posted June 6, 2006 Can I just congratulate GSM and all the other peole that have contributed to this thread. I have just read through it and I have just realised how basic my knowledge is.What you guys have done is amazing!!I have just designed an automated build of windows xp and am going to invstigate implementing this into it so that my company can start to audit pc's. Even if its all the new ones going out from now, that btter than nothing.I feel that this would be even better if there was 2 options. 1 being an automated option so that it runs against %computername% without the need to press any buttons. Then the vbs can be added to the runonceprocess and will automatically generate a hta file in the name of the computername, which can then be copied upto a shared area on the network for inventory results.The 2nd option would be to run this say from my machine, but be prompted to enter an ip range, ie 10.1.50-10.1.50.255 so that it would then go off and attempt to run this against each machine (might need to prompt for admin credintials if unable to connect under my current logged in credintials) and to then generate a hta file for each computer to \\server\Inventory ResultsI am in work tomorrow and will try and report back any findings if I get a chance, but if now will crack on again next week when I am back at work.Respect to GSM and Yzöwl you have both taught me a lot in the last hour or so and you don't even know m from Adam. Link to comment Share on other sites More sharing options...
kev_147 Posted June 16, 2006 Share Posted June 16, 2006 Hope everyone is ok. Its gone very quiet in this post.It would be a shame to leave this project unfinished as I am sure it would be so popular. I will contribute wherever I can. I will just need some pointers or some time to read through the hta file.I would suggest that most people would want to have an inventory of hardware and software thats is installed and a few other bits and pieces, such as compname, serial number, system model, tcp/ip settings. If this solution could be made automated/silent then I think it would be a great addition to anyones automated build cd if they wanted to include an asset solution into it.I.E. you could have a scheduled task that runs the script once a month and it creates a file called %computername%.txt /hta /xml /csv and then it will also attempt to copy this file upto a network share that everyone has permission to write to. I would suggest that it would also be useful to append this information to any exisiting files, so you can build up an history of the pcs inventory. (ie you can see if any software has been installed since the last inventory)The script, would be ideal if the variables for the computername and save location of the logs were clearly marked, at the moment Ihaven't been able to work it out. Link to comment Share on other sites More sharing options...
Noise Posted June 16, 2006 Share Posted June 16, 2006 (edited) Thanks for bumping this Kev, I almost missed this awesome info.gunsmokingman, I'm having a problem I'm hoping you can help with regarding these scripts. Whenever I run your scripts (all versions - vbs and hta) the computer name shows my domain name, not the computer name.I'm running Windows XP joined to a old fashoned NT4 domain. I get the same error when checking other XP PC's over the network. Edited June 16, 2006 by Nois3 Link to comment Share on other sites More sharing options...
war59312 Posted June 17, 2006 Share Posted June 17, 2006 Awsome! Thanks everyone! Link to comment Share on other sites More sharing options...
gunsmokingman Posted June 17, 2006 Share Posted June 17, 2006 This is a updated version Changes 1:\ The Defrag, Clean, Run Both Are Now in the Windows tools Menu2:\ Change the button ColorsThis is for XP as there are reports it does not work on W2K not sure about W3kThe HTA is saved on %SystemDrive% that it runs fromNois3 Posted Yesterday, 06:20 PM Thanks for bumping this Kev, I almost missed this awesome info.gunsmokingman, I'm having a problem I'm hoping you can help with regarding these scripts. Whenever I run your scripts (all versions - vbs and hta) the computer name shows my domain name, not the computer name.I'm running Windows XP joined to a old fashoned NT4 domain. I get the same error when checking other XP PC's over the network.I will look into this but since I do not have a network to test on this might take some time.SystemReport_V4a.exe Link to comment Share on other sites More sharing options...
kev_147 Posted June 28, 2006 Share Posted June 28, 2006 Would it be possible to post the source code with the latest version so I can understand what is happening behind the scenes?ThanksKev Link to comment Share on other sites More sharing options...
gunsmokingman Posted June 28, 2006 Share Posted June 28, 2006 (edited) The HTA is 775 lines of the code so it does not fit.Just DL the SFX extract the files with Winrar and read the HTA, with notpad or what ever editor you use. Edited June 28, 2006 by gunsmokingman Link to comment Share on other sites More sharing options...
kev_147 Posted August 15, 2006 Share Posted August 15, 2006 GSH, can you tell me how you complied the script as an executable. I think I might change the hta's I am using in an automated build .exe for security. Link to comment Share on other sites More sharing options...
gunsmokingman Posted August 15, 2006 Share Posted August 15, 2006 It just a SFX file made with winrar and a Hta inside of that.When it extracted it runs the HTA.This is what the winrar usesPath=.\%SystemDrive%\Setup=Mshta.exe %SystemDrive%\SystemReport_V4a.htaSilent=1Overwrite=1 Link to comment Share on other sites More sharing options...
alperefe Posted January 13, 2007 Share Posted January 13, 2007 How can ı run this little niffty apllication silently savin .HTA to allusersprofile? Link to comment Share on other sites More sharing options...
gunsmokingman Posted January 16, 2007 Share Posted January 16, 2007 (edited) How can ı run this little niffty apllication silently savin .HTA to allusersprofile?I am redoing the script for the HTA and will be starting a new thread for this.New Thread Edited January 16, 2007 by gunsmokingman Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now