Hi,
In the dll file try running adduser.exe as an administrator.
C:\>runas /help
RUNAS USAGE:
RUNAS [ [/noprofile | /profile] [/env] [/netonly] ]
/user:<UserName> program
RUNAS [ [/noprofile | /profile] [/env] [/netonly] ]
/smartcard [/user:<UserName>] program
/noprofile specifies that the user's profile should not be loaded.
This causes the application to load more quickly, but
can cause some applications to malfunction.
/profile specifies that the user's profile should be loaded.
This is the default.
/env to use current environment instead of user's.
/netonly use if the credentials specified are for remote
access only.
/savecred to use credentials previously saved by the user.
This option is not available on Windows XP Home Edition
and will be ignored.
/smartcard use if the credentials are to be supplied from a
smartcard.
/user <UserName> should be in form USER@DOMAIN or DOMAIN\USER
program command line for EXE. See below for examples
Examples:
> runas /noprofile /user:mymachine\administrator cmd
> runas /profile /env /user:mydomain\admin "mmc %windir%\system32\dsa.msc"
> runas /env /user:[EMAIL PROTECTED] "notepad \"my file.txt\""
NOTE: Enter user's password only when prompted.
NOTE: USER@DOMAIN is not compatible with /netonly.
NOTE: /profile is not compatible with /netonly.
C:\>
Zeki Kubilay Akyol
technical manager (MCP - MCSE)
Vargonen Teknoloji Iletisim ve Internet Hiz. Tic. Ltd. Sti.
Yildizposta Cad. No:10 Akin Sit. K:9 D:61
Gayrettepe, 80280 ISTANBUL
Telefon : + 90 212 347 1144
Faks : +90 212 274 9203
e-mail : [EMAIL PROTECTED]
website : www.vt.com.tr
----- Original Message -----
From: "ashik hasim" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 11, 2002 8:40 AM
Subject: Re: [IMail Forum] Adduser not working through ASP
Hi Rick,
I have tried this and now I tried all combinations. But still its not
working.
Regards
AShik
----- Original Message -----
From: Rick Leske <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, June 10, 2002 7:33 PM
Subject: RE: [IMail Forum] Adduser not working through ASP
> Right Click on the adduser.exe file and select properties. Select the
> Security TAB and then Click the ADD button. Look for the user such as
Ron's
> example: IUSR_MachienName "The MachienName" is the Name of your Server.
> Then Give This IUSR_MachienName the account rights to read/execute..
>
> ~Rick
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of ashik hasim
> Sent: Monday, June 10, 2002 9:14 AM - MGMT.TV
> To: [EMAIL PROTECTED]
> Subject: Re: [IMail Forum] Adduser not working through ASP
>
>
> Could you please tell me how I do this in windows2000?
>
> Thanks
> Ashik
>
> ----- Original Message -----
> From: Ron Hornbaker <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, June 10, 2002 6:04 PM
> Subject: RE: [IMail Forum] Adduser not working through ASP
>
>
> > > I have a DLL which runs adduser.exe command. This DLL works fine when
it
> > is called from an EXE, but does not work when called from ASP. When
called
> > from ASP, the whole command is executed properly, but no account is
> > created. Is it related to some permission settings?
> > _________________________________
> >
> > Give IUSR_MachineName (the built-in anonymous internet user account)
> > account rights to the adduser.exe file, and you should be fine.
> >
> > Ron Hornbaker
> >
> > Humankind Systems, Inc. - Ipswitch Premier Partner
> > - http://humankindsystems.com/testimonials - 3,112 customers
> > - http://AnswerTrack.com - eCRM email tracking & routing
> > - http://KillerWebMail.com - the name says it all
> > - 1-888-952-4888 or [EMAIL PROTECTED]
> >
> >
> >
> > Please visit http://www.ipswitch.com/support/mailing-lists.html
> > to be removed from this list.
> >
> > An Archive of this list is available at:
> > http://www.mail-archive.com/imail_forum%40list.ipswitch.com/
> >
> > Please visit the Knowledge Base for answers to frequently asked
> > questions: http://www.ipswitch.com/support/IMail/
>
>
> Please visit http://www.ipswitch.com/support/mailing-lists.html
> to be removed from this list.
>
> An Archive of this list is available at:
> http://www.mail-archive.com/imail_forum%40list.ipswitch.com/
>
> Please visit the Knowledge Base for answers to frequently asked
> questions: http://www.ipswitch.com/support/IMail/
> ___________________________________________________________________
> Virus Scanned and Filtered by http://www.FamHost.com E-Mail System.
>
>
> ___________________________________________________________________
> Virus Scanned and Filtered by http://www.FamHost.com E-Mail System.
>
>
> Please visit http://www.ipswitch.com/support/mailing-lists.html
> to be removed from this list.
>
> An Archive of this list is available at:
> http://www.mail-archive.com/imail_forum%40list.ipswitch.com/
>
> Please visit the Knowledge Base for answers to frequently asked
> questions: http://www.ipswitch.com/support/IMail/
Please visit http://www.ipswitch.com/support/mailing-lists.html
to be removed from this list.
An Archive of this list is available at:
http://www.mail-archive.com/imail_forum%40list.ipswitch.com/
Please visit the Knowledge Base for answers to frequently asked
questions: http://www.ipswitch.com/support/IMail/
Please visit http://www.ipswitch.com/support/mailing-lists.html
to be removed from this list.
An Archive of this list is available at:
http://www.mail-archive.com/imail_forum%40list.ipswitch.com/
Please visit the Knowledge Base for answers to frequently asked
questions: http://www.ipswitch.com/support/IMail/