Thanks PHV, I guess the question should have been:
Is managedby the right name for this field?, or is just name? I have tried both and neither works.
jazzfan
Hello all, how do I reference the Managed By field for computers in Active Directory?. I have tried the following but with no success.
objComputer.Put "managedby", strManagedBy
objComputer.Setinfo
objComputer.Put "name", strManagedBy
objComputer.Setinfo
Thanks in...
K0b3
Thanks a lot for your suggestion. I finally found the SID for Authenticated Users (S-1-5-11) and that worked. The script also appears to work when Authenticated Users is enclosed in Quotes " "
Thanks again
jazzfan
K0b3
I can't figure out how to set permissions to "modify" for the "Authenticated users" group using the script in FAQ329-5734. Could you provide a couple of examples please?
jazzfan.
dgunraj, what would the syntax be to run your script so I can add the group "Authenticated Users" and grant this group modify permissions?
Thank alot in advance
jazzfan
I am trying to fill in the fields of the address tab for users' properties in AD. Everything is working fine except for the country field. I get -2147016657 as err.number. Here's basically what I've got:
Option explicit
Const INPUT_FILE_NAME = "C:\Scripts\WMI\Testers\emplist1.txt"
Const...
Hi everyone,
I am trying to read a file line by line but my script is just not cooperating. Can anyone please point out what I am missing?
Here's what I have:
'Option Explicit
Const INPUT_FILE_NAME = "C:\scripts\wmi\testers\XPLibrarySongList.txt"
Const FOR_READING = 1
On Error Resume Next...
gbaughma, Your link is not operational. I would very much like to see what's in there, who knows? The answer I'm looking for could be there.
Thanks again
jazzfan
I connected the usb drive to the pc, windows xp recognized the new hardware but it did not show up on My Computer, I then went to control panel/admin tools/computer management/disk management and the drive is there but kind of undefined. I don't have an option to assign a letter to it. It is...
I copied my music files from my emac to an external usb drive, now I want to take this usb drive to my windows machine and be able to copy the files to my hard drive. Is this possible? Can anyone help?
Thank you very much in advance.
Jazzfan
Is there a way to change the administrator's password on about 100 pcs running Windows NT 4? . I've tried putting the line "cmd /c net user administrator 74735jdhsg" in a file and then running the file with a vbs script but I get a "General Access Denied" error.
Any help is...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.