Jump to content

Recommended Posts

Posted

What you have tried so far? Searching the forum will return a lot of threads ;)

My UDFs and Tutorials:

  Reveal hidden contents

 

Posted

How about this to send a mail?

 

My UDFs and Tutorials:

  Reveal hidden contents

 

  • Moderators
Posted

Cvcorv,

And why would you want to create an admin account with a random password that you then need to email somewhere?

M23

P.S. And the explanation had best be a very good one.

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

  Reveal hidden contents

 

  • Moderators
Posted (edited)

@Cvcorv

Just to weigh in, there is an MS article out there which details the uses for this. Up until recently it could be done with a Group Policy preference for highly secure environments, but with MS14-025 Microsoft disabled the ability to do so. Along with this, however, they did provide a PS script to accomplish the same. There is a very narrow set of circumstances that would necessitate this, I would suggest you read both articles to ensure you fit the profile. I have had to enable this for a few customers, but only for a few. It also does not support sending by email; each encrypted password would be saved to a likewise-encrypted "master file".

https://support.microsoft.com/en-us/kb/2962486 - removal of Group Policy Preference, and PS alternative

http://www.grouppolicy.biz/2014/05/set-local-administrator-account-random-password/ - Usage of the PS script

Edited by JLogan3o13

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

  • 1 year later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...