Auteur de questions
Network Service account name cannot be resolved on French windows properly

Discussion générale
-
Hey there.
Sorry for English language, i was redirected here from English forum, because i have an issue with French Windows.
I have a service, which i want to run under network service account on French windows. Computer is not in domain but in workgroup.
Service is installed via installer and uses WinAPI functions to get valid localized account name, which is AUTORITE NT\SERVICE RÉSEAU. The problem is that service fails to start with next errors in event viewer:
1) Service depends on the Net Logon service which failed to start due to the following error:
The operation was successful.
2) This computer is configured as a member of a workgroup, not as a member of a domain. It is not necessary to perform the service access network in this configuration.
However if i go to Service properties, tab Log On, Browse... button and try to resolve SERVICE RÉSEAU account, it pastes "Service réseau" value into account field and service successfully starts. Note that it can't resolve full "AUTORITE NT\SERVICE RÉSEAU" name.
Another thing is that when i put computer into domain all the sudden service manages to start with "AUTORITE NT\SERVICE RÉSEAU" account but system does not convert it into "Service réseau" as it is on English windows.
So is it a bug on French OS? Is there any workaround? How can i programmatically get "converted" version of account name ("AUTORITE NT\SERVICE RÉSEAU" -> "Service réseau")?
System: Windows 2008 R2 SP1 with latest updates at 1/10/2013- Type modifié Dan BajenaruMicrosoft employee lundi 21 janvier 2013 11:55
vendredi 18 janvier 2013 07:47
Toutes les réponses
-
Hello
perhaps there is an easier solution but have you tried to use the SID of the account instead of his name ?
The built'in for Network Services account is always the same : S-1-5-20
Freddy ELMALEH - Active IT (Active IT)
Consultant Freelance (Architecte AD, Infrastructure, Audit de sécurité, audit de sites web, tests d'intrusion, etc.)
MVP Windows Server - Directory Services
MCITP Enterprise Administrator (2008) - MCSE 2000/2003 Security - MCSA Messaging 2000/2003
Bibliographie (Administration avancée sous Windows 2008 R2, La sécurité sous Windows 7, etc.)
vendredi 18 janvier 2013 08:35 -
yea we tried. Tried a lot of normal and weird things. Service account name does not accept raw SID in or without brackets etc. We have a suspicion that the problem may be in "é" in account name, because other localizations have only standard symbols and work fine.vendredi 18 janvier 2013 15:54
-
Bonjour,
Merci d’avoir contacté les forums TechNet France. La langue utilisée sur ces forums est la langue française, donc s’il vous plaît repostez votre question en française ou modifiez votre premier message, comme on vous demande dans l’étiquette sur les forums TechNet France.
Merci pour votre compréhension et collaboration.
Cordialement,
Dan
Dan BAJENARU, MSFT Votez! Appel à la contribution
Nous vous prions de considérer que dans le cadre de ce forum on n’offre pas de support technique et aucune garantie de la part de Microsoft ne peut être offerte.vendredi 18 janvier 2013 16:02