A nice simple one, to find the membership of a domain group use the following on a domain controller.
net group "groupname"
A nice simple one, to find the membership of a domain group use the following on a domain controller.
net group "groupname"
AAD Connect stops syncing.
The error is as follows:
Start-ADSyncSyncCycle : System.Management.Automation.CmdletInvocationException: System.InvalidOperationException: Showing a modal dialog box or form when the application is not running in UserInteractive mode is not a valid operation. Specify the ServiceNotification or DefaultDesktopOnly style to display a notification from a service application.
This situation occurs after enabling Security Defaults on an Azure AD Tennent.
Despite the claims about Security Defaults you can disable MFA on a per user basis. Just go to 365 MFA user settings (https://account.activedirectory.windowsazure.com/UserManagement/MultifactorVerification.aspx) with your admin creds and disable MFA for the account that runs the AAD updates (it will have a username starting with 'Sync_').
Run a normal sync a couple of times and AAD Connect will sort itself out.
After some updates the WiFi section under Network & Internet in the Windows 10 Settings app disappears.
Go to Network adapters in Device Manager and uninstall the Marvell Wifi adapter.
Right-click the computer name in Device Manager and Scan for hardware changes.
You should see the device repopulate.
Rebooted and you should be able to connect to Wifi.
If you have a VPN which then will not connect see my previous blog post.
Windows 10 built-in VPN does not connect does not error.
RRAS showed connection for a few seconds then no connection.
A software consultant uninstalled .net 4 breaking the Datto agent.
I instinctively go to open Server Manager, oh wait, it has no icon.
I go to PowerShell, it flashes a window and closes.
I go to CMD and run
Dism /online /Enable-Feature /FeatureName:NetFx4 /All
Reboot
Server Manager is still missing so I run
dism /online /enable-feature /all /featurename:server-gui-mgmt
I had to unpin and re-pin Server Manager to Start to get the icon back.
All is good.
1. Open Powershell as administrator
2. Enter get-disk
3. Note the number of the drive (2 in the example above)
4. Enter set-disk number -isoffline $false
5. Enter get-disk again to check the status.
6. If the drive shows read-only follow this guide.
https://docs.microsoft.com/en-gb/archive/blogs/askcore/my-disk-is-read-only-help
So here's a slightly odd post, why am I playing with GoTek floppy emulators? Well, I rediscovered my Amstrad CPC6128 8 bit computer from the '80s and wanted to try some software downloaded from various sites.
The Amstrad CPC6128 has a floppy port (34 way IDC edge connector) which is compatible with the 5.25" drive connector found on some floppy ribbon cables.
So, I hooked up the GoTek to a TTL serial cable and flashed the Flash Floppy firmware, I did the OLED screen upgrade, I even added a rotary encoder. I followed all the guides you find everywhere.
I connected the GoTek to the CPC and got some errors you would expect if there was no drive.
I linked pins 33 & 34 to set the Ready signal, I linked pins 11 & 12 to force it to be the A drive (shown below, image from CPC Wiki).
But nothing.One might ask why the twist was needed. In short, because it was a big time-saver during setup back in the days when it was quite common to find two floppy drives in a machine. Without the twist, for two floppy drives to be used, one had to be jumpered as A: and the other as B:. With the twist, it was possible to leave them both jumpered as B:, and whichever was after the twist will appear to the system as A: because the control lines are inverted.
Go to: https://admin.microsoft.com/adminportal/home?ref=MessageCenter&showPref=1
A side panel will open on the right.
Scroll to the bottom of the side panel
Untick ‘Send me a weekly email digest’
Click Save at the bottom of the panel.
Run the following query against the Master DB to return the location of User DB file locations. You can then select all in the results pane and paste into Excel.
select name,physical_name from sys.master_files where database_id > 4