netsh http add urlacl : add reservation for a group
Asked Answered
K

1

21

This article explain how to configure a namespace reservation for a user using netsh.exe as follows:

netsh http add urlacl url=http://+:80/MyUri user=DOMAIN\user

The parameter user= is said to be either user or user-group.
It works as described when I configure for a single user, but if I replace DOMAN\user with DOMAIN\Administrators or DOMAIN\Users I'm getting an error (1332).

Q: Why does it work for a user, but does not work for a group? Is syntax for a group different?

OS: Vista 32-bit

Note: The computer is not part of a domain, if that matters.

Kanal answered 3/11, 2009 at 21:17 Comment(0)
K
21

Administrators is not part of DOMAIN but is part of BUILTIN, so correct command is:

netsh http add urlacl url=http://+:80/MyUri user=BUILTIN\Administrators

Kanal answered 3/11, 2009 at 22:0 Comment(2)
Is it necessary to reserve for administrator accounts?Idalia
Just an extra note: groups in non-english version of Windows (can) have groupnames in the local languageArlana

© 2022 - 2024 — McMap. All rights reserved.