Hey everyone, hope you're having a good day! I'm dealing with a bit of a strange issue here. I need to keep an eye on some servers that I can only access using my user account through a web portal. I've got RSAT installed, but I'm running into trouble trying to enable it through Windows Optional Features. When I switch users between my admin and user accounts, the enabling process seems to pause and won't continue in the background. Since I'm using tokens for login and not a local account, I'm wondering how I can elevate my permissions from my user account to admin in order to enable these optional features. I initially thought about using an elevated command prompt to access the optional features, but even then it just opens as a user. I also considered using a runas argument, but I can't find a way to execute that with a non-local admin account. Any ideas?
2 Answers
You might want to focus on PowerShell for enabling RSAT. It sounds like you already got it installed, but now it's just about flipping that switch. It can be a tricky process, though, especially with user restrictions.
Have you tried installing RSAT directly via PowerShell? I managed to get it set up that way recently, and it was way smoother.
Oh nice, that helped a bit! I can see the RSAT tool I want on the list now, but the GET/ADD commands to enable WSUS aren’t actually working. It’s not throwing any error, but it doesn't enable the tool either.
Yeah, I managed to get it installed after some serious tinkering, but now I’m stuck on the enabling part. Just can’t get around the user restriction without a local admin. Any specific commands you used?