johnaregan
Programmer
- Mar 13, 2001
- 87
Hi
I am writing an ASP page that will centralise updating user passwords. This includes NT4 passwords as well as other database ones.
To change NT4 passwords I want to be able to use the command line
net user username password /add /domain
I am using the Windows Script object created like
Dim oShell
Set oShell = CreateObject("WScript.Shell"
oShell.Run("cmd /c net user test test /add /domain"
Set oWSH = Nothing
but this does not work, although if I put this into a script on my personal computer and run it, then it does work.
Is this to do with permissions? If so what would I need to change and how?
Any help would be appreciated
I am writing an ASP page that will centralise updating user passwords. This includes NT4 passwords as well as other database ones.
To change NT4 passwords I want to be able to use the command line
net user username password /add /domain
I am using the Windows Script object created like
Dim oShell
Set oShell = CreateObject("WScript.Shell"
oShell.Run("cmd /c net user test test /add /domain"
Set oWSH = Nothing
but this does not work, although if I put this into a script on my personal computer and run it, then it does work.
Is this to do with permissions? If so what would I need to change and how?
Any help would be appreciated