Search found 5 matches

by GlennXS
Mon Jul 24, 2017 10:19 am
Forum: VBScript
Topic: Change properties of Local Group; e.g. rename group, change description.
Replies: 7
Views: 1876

Re: Change properties of Local Group; e.g. rename group, change description.

Thought I did this before but I tried again using the () syntax (just to be sure); doesn't work. The error msg is: Error: Object doesn't support this property or method: 'sGroup.Rename' Code: 800A01B6 Source: Microsoft VBScript runtime error Should I be using WinMgmt namespace instead of WinNT ? ...
by GlennXS
Mon Jul 24, 2017 9:06 am
Forum: VBScript
Topic: Change properties of Local Group; e.g. rename group, change description.
Replies: 7
Views: 1876

Re: Change properties of Local Group; e.g. rename group, change description.

In the meanwhile, I'm also trying to change the description; e.g. sGroup.Description = "Gusto privileges"

... do you think this should work also; maybe sGroup.Description( "Gusto privileges")?
by GlennXS
Mon Jul 24, 2017 9:02 am
Forum: VBScript
Topic: Change properties of Local Group; e.g. rename group, change description.
Replies: 7
Views: 1876

Re: Change properties of Local Group; e.g. rename group, change description.

I tried that, however, i'll go back and try it again. Thanks for the immediate reply ... :)
by GlennXS
Mon Jul 24, 2017 7:09 am
Forum: VBScript
Topic: Change properties of Local Group; e.g. rename group, change description.
Replies: 7
Views: 1876

Change properties of Local Group; e.g. rename group, change description.

While instantiating a Windows system (server 2012r2) from a virtual image template (Hypervisor, vmWare) that has much software preinstalled, I have a vbScript to reconfigure the instantiated image based on its new computer name; e.g. customer joins it to their domain (changes the machine name). To m...