Hey Guys! Sorry for the long hiatus (moved, remodeling, etc). Please let me know what's broken, or needs fixing and I'll see what I can do.

2

(17 replies, posted in Software)

kanmani shanmugam wrote:

...
At present, during booting up, I need to go thorugh the loop F8 to manually disable "digital driver enforcement", but this is good for the current session only.

Is there a clever way to permanently disable digital driver enforcement, so that I do not have to use the F8 option manually every time?

Thanks.

Wow most of that post was copy and paste... A little google searching would yield the below

Errr...http://www.google.com/#hl=en&tbo=d&output=search&sclient=psy-ab&q=disable+unsigned+driver+windows+8&oq=disable+unsigned+driver+windows+8

http://laslow.net/2012/03/14/disable-dr … windows-8/
http://social.technet.microsoft.com/For … a60cd6c109

Can you post a sample of the database file in text? I'm curious about rebuilding it in a way...

So as you know Windows Vista & 7, Server 2008 & 2008 R2 doesn't display a different shared folder icon like previous versions. It's a nice visual cue and some users miss it (I do!). I know there's other ways of finding this information out but who wants to do that! smile

Below is a quick and dirty script I put together. Of course, no guarantee this won't screw up your OS, but it shouldn't (just creating a Desktop.ini). It will ONLY change the icon for user shared folders NOT Admin Shares, etc (http://msdn.microsoft.com/en-us/library … 85%29.aspx).

http://www.autoitscript.com/forum/topic … 872008-r2/

USAGE (use parameters for extra options):

SharedFolderIcon.exe --> Will change all user created shares to the same icon as the script exe (useful if you're the only one using it), uses script exe for icon path
SharedFolderIcon.exe 1 --> Will extract the Icon file that was used to SFI.ico in the same directory as the script (so you can put it somewhere else you want to on multiple servers and call it with the defined parameters)
SharedFolderIcon.exe "C:\Path\to\Icon.dll" --> Will use a defined icon. No index is supplied so a defaul index of 0 is used. Icon can be almost anything exe,dll,sys,ico.
SharedFolderIcon.exe "%SystemRoot%\system32\SHELL32.dll,9" --> Will use a defined icon with an index of 9, use a comma to signify. The icon path utilizes a system variable.

The thread in at the AutoitScript.com forums has the full code. Works with 64b. But if you want the program already compiled here a Dropbox link.

http://dl.dropbox.com/u/464978/SharedFolderIcon.exe

mr_smartepants wrote:

Cool!  Thank you.
Symantec is coughing up a hairball and their 'Insight' scanner is flagging the x64 version as "unknown".
Simple enough to click "ignore" but thought you should know.

Happy you like it smile! Can you add it to the exceptions?


TechDud wrote:

Avira's clueless.  No false positive either, BTW.  wink

I miss the sha1 check-summing; any chance it could be available as an option in a future version
(user-supplied .dll; perhaps call it a plugin)?

I can add an option to do either CRC32, MD5 or SHA1 (it was originally MD5). Curiously, what's the advantage for you on using SHA1 instead of CRC?

Does anyone think it'd be advantageous to move this thread to the Software section?

Oh... a new version wink

Do you see my distaste for undocumented ClassGUIDs?

		Case "{2D3B1222-B28A-44f7-BE45-3D7FD2F57C43}" ; Emulex Crap
			$vClassName = "ElxPlus"
			$vClassExtName = "Emulex PLUS"
			$vClassDesc = ""

		Case "{1a3e09be-1e45-494b-9174-d7385b45bbf5}" ; NVIDIA Crap
			$vClassName = "Vendor_ClassName"
			$vClassExtName = "NVIDIA Network Bus Enumerator"
			$vClassDesc = ""

		Case "{4B571702-E6C6-4db1-A2C6-FD1D53A70FC3}" ; ALI Crap
			$vClassName = "ALiUSB"
			$vClassExtName = "ALi USB Controller"
			$vClassDesc = ""

		Case "{a0a588a4-c46f-4b37-b7ea-c82fe89870c6}" ; INTEL Crap
			$vClassName = "SDHost"
			$vClassExtName = "Intel SD Controller"
			$vClassDesc = ""

		Case "{555E05A3-904C-42cf-AEF4-EE4035EC6362}" ; Axalto Crap
			$vClassName = "Egatecard"
			$vClassExtName = "Axalto USB SD"
			$vClassDesc = ""

		Case "{09E9A11D-CCB2-45ae-9BE8-65C263E60490}" ; Broadcom Crap
			$vClassName = "CVAULT"
			$vClassExtName = "Broadcom Fingerprint Scanner"
			$vClassDesc = ""

		Case "{e7f8dc5e-a591-4264-8a30-6eae85be7a3f}" ; ActivCard Crap
			$vClassName = "ActivCardClass"
			$vClassExtName = "ActivCard SmartReader"
			$vClassDesc = ""

		Case "{084ABEA7-3EE1-4917-AA78-7670D1E625E1}" ; ActivCard Crap
			$vClassName = "ActivCardKeyBus"
			$vClassExtName = "ActivCard Virtual Reader Enumerator"
			$vClassDesc = ""

		Case "{41AD5E8B-5CB0-4275-B829-EDA617114AE8}" ; ActivCard Crap
			$vClassName = "ActivKeySimBus"
			$vClassExtName = "ActivIdentity SmartReader"
			$vClassDesc = ""

I found a speed issue with exporting to CSV. The longer the string to output to the slower it will export. So something like C:\h.csv will export up to 10 seconds faster than something like C:\Documents and Settings\USERNAME\Desktop\FindHWIDS\hwids.csv.

I'm changing the Checksum to CRC32 (supposedly faster, doesn't really need to be MD5 or SHA1) and making it an internal command instead of a third-party DLL. I also fixed an issue with some 64b workstation (Win 7) erroring for the WMI object call. I'll post when I have it all finished.

And I changed the compression of the UPX to least to help alleviate issues with virus scanners.

That sounds like a good idea! You won't loose me smile But I'm not as available as I'd like to be.

If anyone wants the source please let me know. I haven't had any time to devote to developing this but would still like it to thrive and be bug-fixed.

I'm sorry I'm not sure... I haven't had time to work on it in a LONG time. I did fix the download link though.

mr_smartepants wrote:

@KickArse, I have a request.
Would it be possible to scan an .ini instead of .inf files?  I want to scan the dpms .ini and search for duplicated HWIDs.  Some of the LSI sections have nearly 200 HWIDs on a single line.  I can't do that manually. sad

I can certainly try smile

I don't have an active dev machine at the moment... but I'll see what I can do with it. I was in the process of writing a new INF files scanning function to speed up my scans. But that kind of got put on hold.

I'll also look into the SHA1 and exporting again into XLS format, but this time without needing Office to be installed (since we all know XLS is a glorified XML file). And the "file finder" function wink

As for relative paths what you are looking for is just output from the chosen root folder?? So if you were scanning D:\DriverPacks\Changes\2011.01.01\SomethingElseForFUn\AndWhatswithThis\Drivers for drivers, then you wouldn't need this just \G\3\something??

TechDud wrote:

Avira is freaking out on me (spazz).  It claims to have found the 'SPR/AutoIt.Gen' special detection.  details here http://www.avira.com/en/support-threats … 5/tlang/en sad
FindHWIDS v3.2p has been detected as 'Programs that violate the private domain' "This is a program that may be capable of compromising the security of your system, triggering malware activities or invading your privacy".

I've resolved this by unpacking the file.  No detection now.

Perhaps a change could be made to the program to prevent this signature-based detection?  I wonder if this is the only AntiVirus that falsely detects this as a virus.

No clue other than alot of autoit scripts get's falsely detected. I think it's because its a UPX compiled file and many viruses use this to fuzz themselves. The only thing integrated is fshash.dll and some images. Not sure how you "unpacked" the executable though.

Also, I had an idea in the resolution of the string length in the registry value ... what about adding the ability to truncate to only the required to get up and running INF types (LAN, MassStorage, CPU, etc) and then have the program wait around (or call it again) for the installation of those items and then add the rest (provided it's not over the limit and then rinse and repeat as necessary until all drivers are installed) then reboot or whatever the case is.

Gotcha ... perhaps as a slight improvement it might be good to add all iterations of the inf extension, as it seems it is case sensitive in its searching and in those just in case scenerios (for scanning not so perfect INFs, stuff the DP team hasn't done) --> .INF, .INf, .Inf, .iNF, .inF, .inf, .InF, .iNf -- OR somehow make it case insensitive.

Found it! Well something similar I would imagine... time for a read...

http://www.osronline.com/ddkx/install/i … t_4836.htm

I appreciate the help Jeff.

I'm finding that the the files that need to be copied to the system not being in the root folder of the driver is really, REALLY, few and far between. I'm not sure what to do about it. I'm not sure exactly what the value of each key means for instance some are 1,1,,,,,10000 or something similar.

yeah... I've been hecka busy with life ... ugh...

Good to see you're still plugging along!

Is devpath any different than http://www.vernalex.com/tools/spdrvscn/ ?

19

(37 replies, posted in Other)

Jeff you're not getting mellow... just troll complacent...

20

(37 replies, posted in Other)

Is this kid on PCP???

Someone ban hammer him PLEASE!

That's cool... remember, though, that not all INF files are true driver files.

Oh I was confused... so when it says "55,Win2K_XP\Data" that means it's the subfolders Win2K_XP\Data... i get it.. thanks!

Ahhh... can you give me some examples?

Wow that's crazy! Would it be helpful to you to have a listing per INF of all these driver files and if they actually exist in each INF's root folder?

Thanks for the information mr_smartepants that definitely helps... I should have a new version soon! As a general rule of thumb is it only one .sys file per inf?