Recommended Posts

I seem to be in a bit of a catch 22 here , I think I've hit the following issue with a virtual machine however rather than a User Role with a deleted AD account I have a VM that has shared Access with a deleted AD account. 

 

If I try to remove the AD account via SCVMM I get the following;

 

  Quote

Error (813)
The specified owner is not a valid Active Directory Domain Services account.


Recommended Action
Specify a valid Active Directory Domain Services account, and then try the operation again.

Expand  


 

Even trying powershell (my powershell skills are pretty limited) but using the following I get the same error;

 

$Resource = Get-VM | where {$_.Name -eq "VMNAME"}
Revoke-SCResource -Resource $Resource -Username "SID"

 

I tried adding a -force to the end as I know I've seen that used in the past for dead hosts but it doesn't seem to recognise it but that could just be me remembering it's use wrongly.

 

So I'm stuck in a situation where a self service user can't console to the VM because of a deleted AD account but I can't remove the account because it's been deleted - Suggestions anyone? I imagine I could do it via SQL but my SQL skills are much worse than my powershell so I'd rather not go messing with something I don't understand.

So let me get my head around this, sorry I'm struggling to understand the question when the article you've linked is different to the problem you're having (as you've said).

 

There's an AD user that's been added to a user role inside SCVMM that at some point the user was deleted through AD users and groups. Now that user is trying to connect to a VM?

 

I am pretty far off, aren't I?

Yeah pretty far off...

 

OK so let me explain the whole thing.

 

I have a self service user who is trying trying to console into a VM using the App Controller Web Portal, they get an error that VMM has lost connection to the machine. I found the following Knowledge Base Article that suggested if the Self Service User Role had a member assigned that no longer existed then his symptom can be seen so remove it.

 

Now my issue is slightly different in that we don't assign users to the roles we do it by AD group and manage within AD and I've checked the group itself and no deleted user SID's so I know that's not the case. However I noticed that the VM itself is setup with shared access and the user shared the VM with 3 people. 2 of which are still with the company and one has left (just a SID remains).

 

This is why my problem above comes in, if I click remove I get the error regarding not being a valid AD user and same with powershell. Is that a little more clear?

This topic is now closed to further replies.
  • Posts

    • Because it's just a one liner fix. One person ( StartAllBack dev ) was able to fix it... in a cave!
    • I have a first draft of the setup script available here if anybody is curious.  It'll work well enough for me, but obviously adapt it to your own needs as necessary. Link: https://gitlab.com/-/snippets/4876568
    • You make it sound like Microsoft’s success was inevitable—like they just coasted to the top because the system is broken. But that ignores how deep in the gutter Microsoft was. A bit more than a decade ago, Microsoft was a bloated, boring giant—universally hated by developer communities and seen as yesterday’s villain. It was well on its way to becoming the next IBM: slow, corporate, irrelevant. The company had a horrible public image, a toxic internal culture, and leadership plagued by stagnation. It was losing the browser war, failing at mobile, and completely missing the open-source wave—pouring good money after bad into battles it had already lost, playing an impossible catch-up game. Even tech enthusiasts openly wished for its demise. Microsoft’s comeback was nothing short of a miracle. Most companies that size, once caught in that kind of death spiral, never climb back out. But Microsoft reinvented itself—against all odds.
    • Samsung's profit nosedives again as chip division bleeds cash by Paul Hill Samsung has shared its second quarter financials for 2025. Unfortunately for the company, its operating profit plummeted to KRW 4.7 trillion, a sharp decline from KRW 10.4 trillion in 2Q24 and KRW 6.7 trillion in 1Q25. The Korean smartphone giant also recorded a significant drop of net profit to KRW 5.1 trillion in the second quarter, down from KRW 9.8 trillion in 2024 and KRW 8.2 trillion in the first quarter. Finally, overall revenue for the second quarter was KRW 74.5 trillion, a decrease from KRW 79.1 trillion in the first quarter. These figures are based on the consolidated financial statements that have been shared before the external review is completed, so some parts could change once it’s done. The worsening of performance doesn’t seem to be a Samsung issue, but rather a wider industry issue as Intel and LG Electronics have also seen poorer results in the second quarter. The Device Solutions (DS) division, which includes Memory and System LSI/Foundry, saw a big fall in operating profits to KRW 0.4 trillion in 2Q25 from KRW 6.5 trillion in 2Q24 and KRW 1.1 trillion in 1Q25. Despite an 11% increase in sales quarter-over-quarter for the Device Solutions division, profits were severely affected by one-off costs such as inventory value adjustments. The company said that its Foundry earnings were weak due to inventory value adjustments arising from US export restrictions on advanced AI chips to China and prolonged low utilization at mature nodes. Samsung’s Mobile eXperience (MX/NW) division maintained double-digit profitability and grew both its revenue and operating profit year-over-year. The Samsung Display Corporation (SDC) saw revenue increase from new smartphone models and growth in IT/Auto segments, and Harman also improved profitability with increased audio sales and cost optimizations. On the flipside, smartphone shipments fell compared to the first quarter when new models were released. However, good sales of the S25 series, A series, and tablets contributed to year-over-year growth. The Visual Display (VD) division saw earnings decline due to intensified competition despite improved premium sales mix. Going forward, Samsung wants to focus on improving Exynos competitiveness for its 2026 flagship lineup and expand sales of advanced sensors. It also said that its Foundry business will ramp up mass production of a new mobile System-on-Chip (SoC) with the GAA 2nm processor and improve factory utilization. The Mobile eXperience division is also looking to achieve solid profitability by reinforcing AI In tablets and wearables. It’s also planning to launch new form-factor products like XR and TriFold. With US trade tariffs not expected to go anywhere in the near future, Samsung has acknowledged that its Harman and Visual Display/Digital Appliances divisions will be under added pressure but plans to mitigate the impact through its global manufacturing footprint. Source: Samsung | Image via Depositphotos.com
    • I switched my bash script over to using Chromium instead of Edge and it's a much better experience.  Supports my bluetooth XBox controller for gameplay and menu navigation and launched the first time with no nonsense, no popups, nothing.  It just worked.
  • Recent Achievements

    • Week One Done
      whiloh earned a badge
      Week One Done
    • Week One Done
      memnoch earned a badge
      Week One Done
    • First Post
      UAVXP earned a badge
      First Post
    • Dedicated
      Xinotema earned a badge
      Dedicated
    • Rookie
      MrNukes went up a rank
      Rookie
  • Popular Contributors

    1. 1
      +primortal
      658
    2. 2
      ATLien_0
      205
    3. 3
      Xenon
      133
    4. 4
      neufuse
      125
    5. 5
      Michael Scrip
      123
  • Tell a friend

    Love Neowin? Tell a friend!