Page 3 of 3 <123
Topic Options
#110422 - 2003-12-17 10:18 PM Re: Using WMI to set ownership
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Well, you're not the first to accuse me of having my wires crossed, but from what you said (andd I quote you), it is hard not to infer...
Quote:

The properties of my subinacl doesn't contain version information??? It's from an early Win2k Reskit though. I wasn't aware that they fixed it. Last I saw in the MSKB, it still had the issue and M$ was aware of it. [Jim wipes the sweat off of his brow] Thank goodness M$ is aware! =P

As far as features, I'd like to see the ability to set ownership to another User ID.




Not sure why you say you would "like to see" something that already exists.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#110423 - 2003-12-17 10:39 PM Re: Using WMI to set ownership
jtokach Offline
Seasoned Scripter
*****

Registered: 2001-11-15
Posts: 513
Loc: PA, USA
Ahh, yes. Blame that on threaded view vs. flat. I intended to reply to Howard's question of what I'd like to see worked on first in the previous thread.

Hoby's thread
Quote:

I will tried to put some time in on the security COM objects. What specifically do you want to do first?




Anyone else struggling with getting used to these damn threads?
_________________________
-Jim

...the sort of general malaise that only the genius possess and the insane lament.

Top
#110424 - 2003-12-17 11:17 PM Re: Using WMI to set ownership
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
Nope, I'm using the flat view. threaded can cause too much confusion as someone using the flat view will not realize the flow of replies.
_________________________
There are two types of vessels, submarines and targets.

Top
#110425 - 2004-03-19 05:45 PM Re: Using WMI to set ownership
Richie19Rich77 Offline
Seasoned Scripter
*****

Registered: 2002-08-16
Posts: 624
Loc: London, England
Hi Everyone, you are going to hate me for digging this post up, but how was this left.

Was it decided that it cannot be done via WMI, and it is best to use SetACL.

Thanks


Edited by Richard Farthing (2004-03-19 05:46 PM)

Top
#110426 - 2004-03-19 05:47 PM Re: Using WMI to set ownership
jtokach Offline
Seasoned Scripter
*****

Registered: 2001-11-15
Posts: 513
Loc: PA, USA
If you read further down it should say something about Kix not supporting the object methods.
_________________________
-Jim

...the sort of general malaise that only the genius possess and the insane lament.

Top
#110427 - 2004-03-19 06:05 PM Re: Using WMI to set ownership
Richie19Rich77 Offline
Seasoned Scripter
*****

Registered: 2002-08-16
Posts: 624
Loc: London, England
Thanks Jim, got dizzy reading all the posts
Top
#110428 - 2004-03-19 06:06 PM Re: Using WMI to set ownership
jtokach Offline
Seasoned Scripter
*****

Registered: 2001-11-15
Posts: 513
Loc: PA, USA
Tell me about it, this threading system complicates things...
_________________________
-Jim

...the sort of general malaise that only the genius possess and the insane lament.

Top
#110429 - 2004-03-19 06:34 PM Re: Using WMI to set ownership
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
Then display the posts in flat mode instead of threaded mode.
_________________________
There are two types of vessels, submarines and targets.

Top
#185018 - 2008-02-01 02:18 PM Re: Using WMI to set ownership [Re: Sealeopard]
Arend_ Moderator Offline
MM club member
*****

Registered: 2005-01-17
Posts: 1896
Loc: Hilversum, The Netherlands
Draggin up this old post again, just to point these things out:

1. No KiX still doesn't support this type of call (Ruud?!?!)
2. AdsSecurity does NOT allow to SET control flags.
3. The new and improved AdsSecurityUtility doesn't allow SET control flags either. \:\(

Unfortunately to set Control flags you're going to need external .exe files or vbs.

Here is a small example to set inhertiance Flags on in vbs
 Code:
Sub AllowInheritance(str_path)
  Set objSecurity = GetObject("winmgmts:{(Security,Restore)}\\.\root\cimv2:Win32_LogicalFileSecuritySetting='" & str_path & "'")
  'Get the Security Descriptor object (objSD)
  objSecurity.GetSecurityDescriptor objSD
  objSD.ControlFlags = 33796
  'Write back the Security Descriptor
  'j=objSecurity.SetSecurityDescriptor(objSD)
End sub

AllowInheritance("D:\test")

Top
Page 3 of 3 <123


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

Who's Online
0 registered and 201 anonymous users online.
Newest Members
BeeEm, min_seow, Audio, Hoschi, Comet
17882 Registered Users

Generated in 0.184 seconds in which 0.13 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