Windows:Virtual Accounts: Difference between revisions

From Devguid
 
Line 2: Line 2:


Virtual account is an account associated with a specific Windows service. It's the same name as of the specific service.
Virtual account is an account associated with a specific Windows service. It's the same name as of the specific service.
Note that you are probably not able to use checknames when adding it to folders but it will still work when using the "NT Service\MyServicename" username.
The purpose is to improve security and to isolate what services have access to.


== Adding port opening to service ==
== Adding port opening to service ==

Latest revision as of 09:48, 11 May 2023

About

Virtual account is an account associated with a specific Windows service. It's the same name as of the specific service. Note that you are probably not able to use checknames when adding it to folders but it will still work when using the "NT Service\MyServicename" username.

The purpose is to improve security and to isolate what services have access to.

Adding port opening to service

netsh http add urlacl url=http://+:8001/ user="NT Service\MyServiceName"

Links

https://superuser.com/questions/1035324/how-to-create-local-windows-desktop-service-accounts

https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2008-R2-and-2008/dd548356(v=ws.10)


https://learn.microsoft.com/en-us/windows-server/identity/ad-ds/manage/understand-service-accounts#virtual-accounts

https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2008-R2-and-2008/dd548356(v=ws.10)

https://superuser.com/questions/1035324/how-to-create-local-windows-desktop-service-accounts