Update Group Membership without logging off or rebooting

For user membership

klist purge

For computer membership, use elevated prompt

klist -li 0:0x3e7 purge

 

Advertisements

PowerShell script to Automatic Services that may have stopped

https://stackoverflow.com/questions/32148258/start-all-automatic-services-not-running

Get-WmiObject win32_service -ComputerName $computer -Filter “startmode = ‘auto’ AND state != ‘running’ AND name != ‘sppsvc'” | Invoke-WmiMethod -Name StartService

Server 2016 – A service installation section in this INF is invalid

After adding a PCI wireless card to a server and installing the manufacturer drivers it will not work and Device Manager reports Unknown device and the drivers are not installed with a “Service installation section in this INF is invalid” message.

Turns out the wireless features are not installed by default on Windows Servers now and once added back re-add the manufacturer drivers as normal to get working again.

Add-WindowsFeature -Name Wireless-Networking