IIS Server Security - How to get iusr and iwam name?

This is Interesting: Free IT Magazines  
Home > Archive > IIS Server Security > November 2004 > How to get iusr and iwam name?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author How to get iusr and iwam name?
Alfred Sehmueller

2004-11-17, 5:50 pm

Hello,

for a setup script that grants NTFS-Permissions to a folder I need the
name of the iusr and iwam accounts. Many machines get renamed after
IIS is installed so a simple string addition of iusr + machine name
often fails.

Is there a way to identifiy the iusr and iwam accounts?

Thanks Alfred
Bernard

2004-11-18, 2:48 am

Try -
C:\Inetpub\AdminScripts>adsutil.vbs get w3svc/anonymoususername
C:\Inetpub\AdminScripts>adsutil.vbs get w3svc/wamusername

--
Regards,
Bernard Cheah
http://www.tryiis.com/
http://support.microsoft.com/
http://www.msmvps.com/bernard/



"Alfred Sehmueller" <alfred.sehmueller@gmx.de> wrote in message
news:8d338431.0411170752.1938fa06@posting.google.com...
> Hello,
>
> for a setup script that grants NTFS-Permissions to a folder I need the
> name of the iusr and iwam accounts. Many machines get renamed after
> IIS is installed so a simple string addition of iusr + machine name
> often fails.
>
> Is there a way to identifiy the iusr and iwam accounts?
>
> Thanks Alfred



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com