![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
|
Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
br> br> |
| |||||||
![]() |
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| Guest
Posts: n/a
| Why a .\appcmd didn't work Hello, I have an command: \Windows\system32\inetsrv\appcmd set config -section:anonymousAuthentication /username:"" --password This command at the Windows Command Prompt is OK. But in Windows PowerShell this command gives a error message: (Cannot find SITE object eith identifier "section:".) Who knows why this command didn't work in Windows PowerShell? -- I thank you in advance for a reaction. Ger |
| | #2 (permalink) | ||||||||||||
| Guest
Posts: n/a
| Re: Why a .\appcmd didn't work Ger F. wrote:
appcmd: PS> ./echoargs appcmd set config -section:anonymousAuthentication /user name:"" --password Arg 0 is <appcmd> Arg 1 is <set> Arg 2 is <config> Arg 3 is <-section:> Arg 4 is <anonymousAuthentication> Arg 5 is </username:> Arg 6 is <--password> Try this instead: PSH> appcmd set config "-section:anonymousAuthentication" /username:"" --password I'm not 100% how you should define that null for the username. echoargs comes from PSCX (www.codeplex.com/powershellcx). Marco -- ---------------- PowerGadgets MVP http://www.powergadgets.com/mvp Blog: http://marcoshaw.blogspot.com | ||||||||||||
| | #3 (permalink) | ||||||||||||
| Guest
Posts: n/a
| Re: Why a .\appcmd didn't work Try this. I'm not sure if appcmd is .exe or .cmd... need to add the ext &"\Windows\system32\inetsrv\appcmd.exe 'set' 'config' '-section:anonymousAuthentication' '/username:""' '--password'" You can use echoargs from PSCX to figure this out as well. "Ger F." <GerF@xxxxxx> wrote in message news:C793722A-AE5A-4076-8F47-170062674A92@xxxxxx
| ||||||||||||
| | #4 (permalink) | ||||||||||||||||||||||||
| Guest
Posts: n/a
| Re: Why a .\appcmd didn't work Hi Marco, Your answer was OK, it works now correct now Thanks a lot, Ger -- "Marco Shaw" wrote:
| ||||||||||||||||||||||||
| | #5 (permalink) | ||||||||||||||||||||||||
| Guest
Posts: n/a
| Re: Why a .\appcmd didn't work Hello Brandon, Thank you very much for your helpfull answer. Sorry for the delay, but I was install a new Windows Server 2008 and that takes a lot of time. Best regards, Ger -- "Brandon Shell" wrote:
| ||||||||||||||||||||||||
| |
| |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Still searching for way to get Vista search to work: Why doesn't FilterFilesWithUnknownExtensions registry key work in Vista? | Celegans | Vista General | 11 | 08-31-2007 09:04 AM |
| all cd's don't work, but dvd's still work | Phil | Vista hardware & devices | 2 | 05-18-2007 09:35 AM |
| HP LaserJet 1010 don't work in Vista since Beta2 - Advanced 1384 Printing Support drivers for XP don't work | Alexey | Vista print fax & scan | 2 | 10-18-2006 07:05 PM |
| Will all the programs that work on xp work on vista? | exciter | Vista General | 14 | 10-06-2006 11:40 PM |
| IIS7 AppCmd & ASP.NET Website | Synced | Vista General | 0 | 06-12-2006 05:36 PM |