I am trying to add the ScreenSaveActive and ScreenSaverIsSecure info from the HKEY_CURRENT_USER\\Control Panel\\Desktop hive into the SMS_DEF.MOF under new class seperate from the screen saver info provided under the Win32_Desktop already included. This is because that section provides this info for all profiles.
By retrieving this info for the Current User, it will save having to try seperating it once we have the info fed into Access or whatever for reporting.
I cannot get it to work. In testing I can create a new class no problem which then appears in the Resource Explorer for the test client, but cannot produce the info. When compiling the MOF file with Mofcomp, I have had "Class has instances" and a variety of other syntax errors.Sure it is my syntax that is the problem.
Has anyone tried this or succeeded with it ??
Suggestions appreciated
Regards, Dermot
By retrieving this info for the Current User, it will save having to try seperating it once we have the info fed into Access or whatever for reporting.
I cannot get it to work. In testing I can create a new class no problem which then appears in the Resource Explorer for the test client, but cannot produce the info. When compiling the MOF file with Mofcomp, I have had "Class has instances" and a variety of other syntax errors.Sure it is my syntax that is the problem.
Has anyone tried this or succeeded with it ??
Suggestions appreciated
Regards, Dermot