Page 1 of 1 1
Topic Options
#209355 - 2014-08-05 03:32 PM microsoft.diskquota.1
Howard Bullock Offline
KiX Supporter
*****

Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
I was using Lonk's Name2Sid() and ran across a computer at work that did not have the microsoft.diskquota.1 object defined in the key HKEY_CLASSES_ROOT\CLSID\{7988B571-EC89-11cf-9C00-00AA00A14F56}. In fact the guid key was missing.

I have been searching without success to try to determine what process writes those values. We tried re-registering the Shell32.dll which from what I found seems to be the DLL that supports this object.

We also tried to import the registry key which failed.

Anyone else have information about how to fix this computer so that I do not have code around this issue?
_________________________
Home page: http://www.kixhelp.com/hb/

Top
#209356 - 2014-08-05 05:18 PM Re: microsoft.diskquota.1 [Re: Howard Bullock]
BradV Offline
Seasoned Scripter
****

Registered: 2006-08-16
Posts: 687
Loc: Maryland, USA
I wonder if you run the enumusers script on one of the volumes of that server that it might create the missing key as part of the query?

MSDN DIDiskQuotaUser object

Top
#209358 - 2014-08-05 09:28 PM Re: microsoft.diskquota.1 [Re: BradV]
Howard Bullock Offline
KiX Supporter
*****

Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
 Originally Posted By: BradV
I wonder if you run the enumusers script on one of the volumes of that server that it might create the missing key as part of the query?

MSDN DIDiskQuotaUser object


The issue as I see it is that you can't create the object because it is not defined in the registry. Trying to execute the script would result in an error.
 Code:
Volume = new ActiveXObject("Microsoft.DiskQuota.1");


There is no object named "Microsoft.DiskQuota.1" to create if it is not defined in classes.
_________________________
Home page: http://www.kixhelp.com/hb/

Top
#209360 - 2014-08-05 10:58 PM Re: microsoft.diskquota.1 [Re: Howard Bullock]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
hmm... which OS? is OS installed on NTFS?
_________________________
!

download KiXnet

Top
#209361 - 2014-08-05 10:59 PM Re: microsoft.diskquota.1 [Re: Lonkero]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
Re-register dskquota.dll using regsvr32.exe
_________________________
!

download KiXnet

Top
#209362 - 2014-08-06 04:21 PM Re: microsoft.diskquota.1 [Re: Lonkero]
Howard Bullock Offline
KiX Supporter
*****

Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
This is on Windows 7.

The user received the following error when trying to register the dskquota.dll. I tried and also received the error.

 Quote:
[Window Title]
RegSvr32

[Content]
The module "dskquota.dll" was loaded but the entry-point DllRegisterServer was not found.

Make sure that "dskquota.dll" is a valid DLL or OCX file and then try again.

[OK]


The file exists on both of our Windows 7 computers. Still searching...
_________________________
Home page: http://www.kixhelp.com/hb/

Top
#209363 - 2014-08-06 04:38 PM Re: microsoft.diskquota.1 [Re: Howard Bullock]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
and sfc returns everything is cool?

did this computer have issues before? I bet it's one of those "I had a hard drive failure and couple viruses, but other than that, windows is fine. I refuse to reinstall"
_________________________
!

download KiXnet

Top
Page 1 of 1 1


Moderator:  Glenn Barnas, NTDOC, Arend_, Jochen, Radimus, Allen, ShaneEP, Ruud van Velsen, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 739 anonymous users online.
Newest Members
M_Moore, BeeEm, min_seow, Audio, Hoschi
17883 Registered Users

Generated in 0.056 seconds in which 0.026 seconds were spent on a total of 13 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org