Comprehensive data protection for all workloads
Post Reply
DaStivi
Veeam Legend
Posts: 500
Liked: 100 times
Joined: Jun 30, 2015 9:13 am
Full Name: Stephan Lang
Location: Austria
Contact:

Veeam Backup Service does not (re-)start? -> Failed to create desktop VeeamBackupServiceDesktop (ERROR_ACCESS_DENIED)

Post by DaStivi »

hi,
i just had some strange issue... after restarting the veeam services (get-service veeam* | stop-service and get-service veeam* | start-service) the "Veeam Backup Service" (VeeamBackupSvc) doesn't start anymore!

Eventlog showed me following error:
The service cannot be started. System.Exception: Failed to create desktop VeeamBackupServiceDesktop (ERROR_ACCESS_DENIED)
bei Veeam.Backup.Common.WinAPIWrappers.CWinDesktop.Create(String name, Int32 heapSizeKb)
bei Veeam.Backup.ServiceLib.CVbEnvironment.InitDesktop()
bei Veeam.Backup.Service.CVeeamBackupSvc.OnStart(String[] args)
bei System.ServiceProcess.ServiceBase.ServiceQueuedMainCallback(Object state)


after a quick google search i found nothing that really looked promising... and i was right before retarting the server (that would also have fixed it)
so what happend is, that i still had the Veem Console open, that tried to reconnect to the Server... i'm pretty sure i had done this in the past, and after the Service is restarted the console would reconnect...

i just canceld the reconnect window and closed the console and voila right after that the service just started fine! so for some reason the server service didn't start because the console was open? why? one thing i suspect, i've MFA enabled on this server, so maybe this sent something upon reconnect, directly when the service is starting that it just crashes it again?
Gostev
former Chief Product Officer (until 2026)
Posts: 33084
Liked: 8187 times
Joined: Jan 01, 2006 1:01 am
Location: Baar, Switzerland
Contact:

Re: Veeam Backup Service does not (re-)start? -> Failed to create desktop VeeamBackupServiceDesktop (ERROR_ACCESS_DENIED

Post by Gostev »

Hi, kindly do not bring environment-specific issues here and always work with our Customer Support directly as the first step. Many thanks!
DaStivi
Veeam Legend
Posts: 500
Liked: 100 times
Joined: Jun 30, 2015 9:13 am
Full Name: Stephan Lang
Location: Austria
Contact:

Re: Veeam Backup Service does not (re-)start? -> Failed to create desktop VeeamBackupServiceDesktop (ERROR_ACCESS_DENIED

Post by DaStivi »

Case #07638750
david23267
Novice
Posts: 8
Liked: 7 times
Joined: Feb 06, 2019 3:50 pm
Full Name: David Adams
Contact:

Re: Veeam Backup Service does not (re-)start? -> Failed to create desktop VeeamBackupServiceDesktop (ERROR_ACCESS_DENIED

Post by david23267 » 1 person likes this post

I can see both sides of this, but since I'm staring at this error in my environment, I sure wish the answer could have been posted, instead of him being reprimanded.
DaStivi
Veeam Legend
Posts: 500
Liked: 100 times
Joined: Jun 30, 2015 9:13 am
Full Name: Stephan Lang
Location: Austria
Contact:

Re: Veeam Backup Service does not (re-)start? -> Failed to create desktop VeeamBackupServiceDesktop (ERROR_ACCESS_DENIED

Post by DaStivi »

i've got some information from Support, that it might be also related to "heapSize" issues... it is even stated in the eventlog error...

so check this KB Article:
https://www.veeam.com/kb1909

it might have been just coincidence that after closing the vbr console the service started again...
mkevenaar
Veeam Vanguard
Posts: 42
Liked: 19 times
Joined: May 14, 2019 2:34 pm
Full Name: Maurice Kevenaar
Location: Uithoorn
Contact:

Re: Veeam Backup Service does not (re-)start? -> Failed to create desktop VeeamBackupServiceDesktop (ERROR_ACCESS_DENIED

Post by mkevenaar »

Just stealing this old topic.

We had a similar issue with the upgrade to V13.0.2.29. During the upgrade, at the last step, when all the services are being started by the installer, the VeeamBackupSvc service would not start.

Code: Select all

Service cannot be started. System.Exception: Failed to create desktop VeeamBackupServiceDesktop (ERROR_ACCESS_DENIED)
   at Veeam.Backup.Common.WinAPIWrappers.CWinDesktop.Create(String name, Int32 heapSizeKb)
   at Veeam.Backup.Common.WinAPIWrappers.CWinDesktop.OpenOrCreate(String name, Int32 heapSizeKb)
   at Veeam.Backup.ServiceLib.CVbEnvironment.InitDesktop()
   at Veeam.Backup.ServiceLib.CVbEnvironment.InitService()
   at Veeam.Backup.Service.CVbrStartup.OnStart()
   at Veeam.Backup.Core.Service.CWindowsServiceLifetime.OnStart(String[] args)
   at System.ServiceProcess.ServiceBase.ServiceQueuedMainCallback(Object state)
After applying the fix in KB1909, the services could start again.

Related case: #08098308
Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 474 guests