 |
|
 |
Is there any conceivable use for this, other than damaging a system?
JLC
|
|
|
|
 |
|
 |
i am trying to upload the file....
but after few minutes, it gives message on link box,
savedfiles=0 forbiddenfiles=0 premiumaccount=0
plz try to solve it out...it is very helpful software...but now its not working.
it worked well before.
Somebody help plzzz..
|
|
|
|
 |
|
 |
This is a good example of how-not-to-do...
|
|
|
|
 |
|
 |
This code only shows, that it is possible to run a process headless - MSDN documents this.
The scenario described is useless since in any organization where the administrator is not a complete idiot, the users do not work with an administrators account.
Why don't you just use the Windows authentication in your application instead forcing the user to change his/her windows password.
|
|
|
|
 |
|
 |
That is not worth an article. Maybe a Tip/Trick, but even then only just.
|
|
|
|
 |
|
 |
This is very poor code sample - "C:\Windows\System32" is a hard-coded path (System.Environment.SystemDirectory maybe?), and you're also making an incorrect assumption that the local admin account has not been renamed from "Administrator"
I highly recommend that this code snippet is NOT used as is.
|
|
|
|
 |
|
 |
You could easily change it to fix that stuff. Just create an extra parameter that accepts the administrator name
|
|
|
|
 |
|
 |
That's not a fix but a shift-out-of-scope of one of many conceptual problems.
|
|
|
|
 |
|
 |
Very poor code sample - hard-coded paths, an incorrect assumption that the local admin account has not been renamed
|
|
|
|
 |
|
 |
hey there,
I have another question about playing with windows accounts through C#..
is it possible to check weather the local administrator password is blank or not in C# code..?
Regards,
Priyanka
|
|
|
|
 |
|
 |
Good job!, the only issue i found is it only changes the password the first time it runs, next runs don't change.
any ideas?
thanks
|
|
|
|
 |
|
|
 |
|
|
 |
|
 |
you can simply do it using CMD...
|
|
|
|
 |
|
 |
That wasn't the point of it. He was just doing it in C#.
|
|
|
|
 |
|
 |
hi,
I want to know if we can retrieve information about the windows accounts of a computer if i login in any account admin or limited
informations like(username, password, privilage,....)
and if i can please i need hints from you.
thank you very much
|
|
|
|
 |
|
 |
hey there,
i have another question about playing with windows accounts through C#..
is it possible to retrieve an existing user account password from C# code..?
i assume it is not possible for administrator password, but what about a limited user? Can a windows service, working with administrator privileges, retrieve e limited account's current password?
thanks!
gulben
|
|
|
|
 |
|
 |
hi,
there is no way.
thanks.
QHN_PROF@Yahoo.com
|
|
|
|
 |
|
 |
Is it possible to modify this code to run in a windows service which will start during boot time and change an account's password?
What I m trying to do is: I want to write a windows service which will start at boot time. Every time it starts, it is gonna change a specific user's password to a new random password. User also has another device that gives the random password, so s/he knows what will the next password will be. It is kind of windows login password version of what they use know in online banking, one time passwords.
My question is, do I need a user to be logged on for this code to work? or can this code change the password without a user being logged in?
thanks and thanks for the code as well,
gulben
|
|
|
|
 |
|
 |
well, it turned out that I don't need to do that..
Cause if I write a service independent of login of a specific account, then even though the user does not use that account, password will change, and synchronization will be lost with the other device.
So this piece of code helps a lot, thanks!
gulben
|
|
|
|
 |
|
|
 |
|
 |
Yes ,the importent note is : you can run it Silently!
That means you can put it in your application (for Example in Form Load) and give it to your Client! and ...
QHN_PROF@Yahoo.com
|
|
|
|
 |
|
 |
How Can we Share folder with using C#
Thank you.
|
|
|
|
 |
|
 |
http://www.codeproject.com/useritems/Share-Folder-c_.asp
QHN_PROF@Yahoo.com
|
|
|
|
 |
|
 |
Thanks ,it's really Useful for me!
|
|
|
|
 |