Forum Discussion
Karl-WE
Apr 23, 2022MVP
FEATURE REQUEST Sconfig should be executable remotely - new WAC extension
Currently it is not possible to execute sconfig in a PowerShell Session e.g. Enter-PSSession via Server Manager or PowerShell or in PowerShell using WAC. This is quite hindering. Usecases for W...
- Sep 17, 2022Folks, I fully agree that every possible setting needs a decent option to be managed from command line. I'm with you here.
However, please hear me out: that's not what SConfig is for. SConfig is *based* on tools for command-line management. It's not *what* can provide command-line management.
In other words, if you want a command-line tool to enable RDP, I fully agree. Please, make a feature request just for that: a PowerShell cmdlet to enable RDP. That's a great idea, seriously.
If there's another setting (e.g., Telemetry) you would like to have command-line management for, great. Go ahead and submit *another*, separate feature request for that. We're all ears here.
Just don't call it “SConfig”. Because SConfig does not do that, and it should not do that. It's a job for another tool. These feature requests are not about SConfig.
Joshua_Ferraz
Oct 01, 2022Copper Contributor
Hey Karl-WE
I did some trialing out and you can execute sconfig remotely if you install the SSH Server role on Windows Server.
I do realize though that this means you actually need to install a role and use SSH instead of native PS Remoting out of the box, which is a bit of a let down. Hopefully the Microsoft Team can advance PS Remoting capabilities to allow this.
- Karl-WEOct 04, 2022MVPMmm nice finding though, kudos!
Afaik SSH role uses an outdated and insecure version, afaik reported and known for Windows Client optional feature, too.
I am not sure if the limitation is the PS remoting. Most of the sconfig tasks are native cmdlets.
Well exception is activation which still rely on slmgr an interactive command, such as diskpart which doesn't run well remotely.