Filename.vb_ and ask them to rename it to .vbs

 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Lou Vega
Sent: Thursday, March 11, 2004 10:18 AM
To: [EMAIL PROTECTED]
Subject: RE: [ActiveDir] Finding users who must change pw (and OT side thread)

 

OK – there are many, many virus alerts coming to me now based on a VBS file being zipped in my last e-mail. For those who can read the VBS, you’ll see that there is indeed NO virus.

 

This brings up an interesting slightly OT question though:

 

When you need to legitimately send a VBS file or other type file that is frequently targeted as a virus, what is a good and acceptable way to send it so that it doesn’t get blocked?

 

Of course the double-edged sword there is that if legitimate users find a way to “safely” send such files, of course the bad guys will too.

 

r/

Lou

 

 

 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lou Vega
Sent: Thursday, March 11, 2004 10:01 AM
To: [EMAIL PROTECTED]
Subject: RE: [ActiveDir] Finding users who must change pw

 

Attached you’ll find a VB script written by Brad Sanford which I’ve used to generate user dumps before.

 

One note with it – open it up and find the lines:

Domain = "YourDOmainGoesHere"

OutfileName = "c:\AllUsers.txt"

 

On the domain = line put your domain name (i.e., “Microsoft” not “Microsoft.com”) and on the OutfileName= put the path to the file you want the results written to.

 

Enjoy!

r/

Lou Vega

 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Creamer, Mark
Sent: Thursday, March 11, 2004 9:46 AM
To: [EMAIL PROTECTED]
Subject: [ActiveDir] Finding users who must change pw

 

I need to find which users have their accounts currently flagged to require a password change on next logon. Can that be done with dsquery user –stalepwd? If so, what value would I use? Or, is there a different solution I should be using?

 

Thanks!

 

Mark Creamer

Systems Engineer

Cintas Corporation

Honesty and Integrity in Everything We Do

 

Reply via email to