Click here to Skip to main content
15,882,114 members
Home / Discussions / C#
   

C#

 
GeneralRe: What is the best approach to changing the local admin password? Pin
robwm14-Nov-14 15:10
robwm14-Nov-14 15:10 
AnswerRe: What is the best approach to changing the local admin password? Pin
Garth J Lancaster4-Nov-14 13:15
professionalGarth J Lancaster4-Nov-14 13:15 
GeneralRe: What is the best approach to changing the local admin password? Pin
robwm14-Nov-14 16:44
robwm14-Nov-14 16:44 
GeneralRe: What is the best approach to changing the local admin password? Pin
Garth J Lancaster4-Nov-14 17:04
professionalGarth J Lancaster4-Nov-14 17:04 
GeneralRe: What is the best approach to changing the local admin password? Pin
robwm14-Nov-14 19:41
robwm14-Nov-14 19:41 
GeneralRe: What is the best approach to changing the local admin password? Pin
Garth J Lancaster4-Nov-14 19:43
professionalGarth J Lancaster4-Nov-14 19:43 
GeneralRe: What is the best approach to changing the local admin password? Pin
robwm15-Nov-14 3:50
robwm15-Nov-14 3:50 
GeneralRe: What is the best approach to changing the local admin password? Pin
Garth J Lancaster5-Nov-14 12:21
professionalGarth J Lancaster5-Nov-14 12:21 
most certainly yes - there's a whole 'namespace' System.Security.Cryptography - some of its abilities are here http://msdn.microsoft.com/en-us/library/e970bs09(v=vs.100).aspx[^]

ok, so, let me ask a questions about your 'process'

how are you going to 'start' it - are you for example going to run this new program, and pass into it (maybe via the commandline) the current password (possibly encrypted), just as a 'start' step to transition off your script

so far you've got

a) get the current password (possibly command line)
b) possibly decrypt the current password
c) find the local Administrator account
d) derive a new random password
e) change the Administrator account password to the new password
f) store the new password & possibly Administrator account name [somewhere], encrypted
g) possibly email an administrator the machine name, administrator account name, password, all encrypted with some other 'key'
GeneralRe: What is the best approach to changing the local admin password? Pin
robwm15-Nov-14 12:36
robwm15-Nov-14 12:36 
QuestionWindows Workflow Foundation - Implement conditional Activites Through C# Code Pin
Member 86262243-Nov-14 19:26
Member 86262243-Nov-14 19:26 
AnswerRe: Windows Workflow Foundation - Implement conditional Activites Through C# Code Pin
OriginalGriff3-Nov-14 20:44
mveOriginalGriff3-Nov-14 20:44 
QuestionGenerate a report after finishing producer-consumer Pin
zhshqzyc3-Nov-14 11:06
zhshqzyc3-Nov-14 11:06 
QuestionWeb service with C# Pin
Patient122213-Nov-14 4:19
Patient122213-Nov-14 4:19 
AnswerRe: Web service with C# Pin
OriginalGriff3-Nov-14 5:05
mveOriginalGriff3-Nov-14 5:05 
AnswerRe: Web service with C# Pin
shaluIT8-Nov-14 14:41
shaluIT8-Nov-14 14:41 
QuestionMessage Closed Pin
3-Nov-14 1:09
Member 112020153-Nov-14 1:09 
AnswerMessage Removed Pin
3-Nov-14 1:24
professionalEddy Vluggen3-Nov-14 1:24 
Questionhow to show image in picture box in C# which is there in dynamicDotNetTwain1 Pin
Member 112000472-Nov-14 7:51
Member 112000472-Nov-14 7:51 
AnswerRe: how to show image in picture box in C# which is there in dynamicDotNetTwain1 Pin
CHill602-Nov-14 10:07
mveCHill602-Nov-14 10:07 
GeneralRe: how to show image in picture box in C# which is there in dynamicDotNetTwain1 Pin
Member 112000472-Nov-14 20:22
Member 112000472-Nov-14 20:22 
GeneralRe: how to show image in picture box in C# which is there in dynamicDotNetTwain1 Pin
Pete O'Hanlon2-Nov-14 20:33
mvePete O'Hanlon2-Nov-14 20:33 
GeneralRe: how to show image in picture box in C# which is there in dynamicDotNetTwain1 Pin
Member 112000473-Nov-14 4:38
Member 112000473-Nov-14 4:38 
GeneralRe: how to show image in picture box in C# which is there in dynamicDotNetTwain1 Pin
Member 112000473-Nov-14 4:39
Member 112000473-Nov-14 4:39 
GeneralRe: how to show image in picture box in C# which is there in dynamicDotNetTwain1 Pin
Pete O'Hanlon3-Nov-14 5:18
mvePete O'Hanlon3-Nov-14 5:18 
QuestionCoding in C# Pin
Member 111998292-Nov-14 3:33
Member 111998292-Nov-14 3:33 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.