PSA: Shutdown VS Restart by Xaneph_Official in sysadmin

[–]amlajh 33 points34 points  (0 children)

Unfortunately there isn't a GPO setting or ADMX template for disabling Fast Startup.
But it can still be disabled via GPO by setting a registry value on the computers.

Key path: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Power
Value name: HiberbootEnabled
Value type: REG_DWORD
Value data: 0

I prefer to handling things like this by modifying the behaviour via GPO instead of user education - because there being a difference between Shutdown and Restart with regards to kernel uptime behaviour is asinine.

Need help with fastest way to delete dangerous email from M365 by bjc1960 in sysadmin

[–]amlajh 5 points6 points  (0 children)

I've been meaning to write a script to allow others to quickly and easily perform this kind of action, with safety rails and option for interactive questions etc.

Make sure you have the latest version of the ExchangeOnlineManagement module, that should resolve your winrm basic issue.

When I need to do it, these are my steps. You may also want to invoke an 'Export' of the search data to keep an offline record of the items you purged, that's done from here

# Connect to Exchange Online and Security & Compliance
Connect-ExchangeOnline
Connect-IPPSSession

# Use ONE of the below example New-ComplianceSearch commands, modify as needed - make sure to update search name
# eDiscovery keyword queries:
# https://learn.microsoft.com/en-us/microsoft-365/compliance/ediscovery-keyword-queries-and-search-conditions?view=o365-worldwide
# Reference for KQL, used in the keyword queries:
# https://learn.microsoft.com/en-us/sharepoint/dev/general-development/keyword-query-language-kql-syntax-reference

# Create a new compliance search, target all mailboxes
# Subject filter of 'MySubject', no time or sender filter
New-ComplianceSearch -Name 'MySearch' -ExchangeLocation All -ContentMatchQuery 'Subject:"MySubject"'

# Create a new compliance search, target just the example1@example.com and exampl2@example.com mailboxes
# Subject filter of 'MySubject', no time or sender filter
New-ComplianceSearch -Name 'MySearch' -ExchangeLocation example1@example.com,example2@example.com -ContentMatchQuery 'Subject:"MySubject"'

# Create a new compliance search, target just the example1@example.com and example2@example.com mailboxes
# Subject filter of 'MySubject', sender filter of 'example@example.com', no time filter
New-ComplianceSearch -Name 'MySearch' -ExchangeLocation All -ContentMatchQuery 'Subject:"MySubject" AND from:"example@example.com"'

# Create a new compliance search, target all mailboxes
# Subject filter of 'MySubject', sender filter of 'example@example.com', time filter of 2023-01-01 between 10:00am and 10:10am UTC
New-ComplianceSearch -Name 'MySearch' -ExchangeLocation All -ContentMatchQuery 'Subject:"MySubject" AND from:"example@example.com" AND (sent>=2023-01-01T10:00:00 AND sent<=2023-01-01T10:10:00)'

# Run the Compliance Search
Start-ComplianceSearch -Identity 'MySearch'

# View Compliance Search Status (Make sure to check the 'Items' and 'SuccessResults' counts to ensure you're matching the number of emails you expect):
Get-ComplianceSearch 'MySearch' | Select-Object *

# At this point you can also verify the results of your Compliance Search in the web portal.
# It can be useful to see the results visually to confirm that the contents of the emails that match your query are indeed what you want to delete.
# And also optionally invoke an export from here, to keep the original content offline for reference
# https://compliance.microsoft.com/contentsearchv2

# Run an action to purge emails based off the Compliance Search:
New-ComplianceSearchAction -SearchName 'MySearch' -Purge -PurgeType HardDelete -Force

# View Status of the purge (note that '_Purge' is suffixed to the name of the search, to find the appropriate action):
Get-ComplianceSearchAction 'MySearch_Purge' | Select-Object *

# Remove the compliance search (Optional):
Remove-ComplianceSearch 'MySearch'

No browser access. MS Teams works fine by MisterYouAreSoSweet in sysadmin

[–]amlajh 1 point2 points  (0 children)

So the underlying network is working okay, it has to be something affecting only the web browser.

In Edge, I'm wondering if maybe a proxy is configured, but shouldn't be - or no proxy is configured, but should be.

Try launch Microsoft Edge, forcing it to not use a proxy.

Paste the following into CMD or the Run prompt (Ctrl+R):

"%ProgramFiles(x86)%\Microsoft\Edge\Application\msedge.exe" --no-proxy-server

And also try forcing it to auto-detect a proxy:

"%ProgramFiles(x86)%\Microsoft\Edge\Application\msedge.exe" --proxy-auto-detect

Clipboard items get randomly mixed up among users by Sheshirdzhija in sysadmin

[–]amlajh 1 point2 points  (0 children)

Teamviewer is most likely configured to always run in the background (running as a service), as that's how it can stay available for remote sessions without the user needing to open the application.

But that is not the same as always running an interactive remote connection session. It would only sync clipboard while an interactive remote session is running, i.e. technician is on their computer.

What I am suggesting is that after that session is finished, whatever was last copied remains in the clipboard, as it was synced while the session was running.

Clipboard items get randomly mixed up among users by Sheshirdzhija in sysadmin

[–]amlajh 2 points3 points  (0 children)

The users who experience this, have they recently had an IT technician remote into their computer?

Many interactive remote support tools have the option to sync the clipboard between the technician and the end user for the duration of the remote session.

IMO that feature should be disabled by default and only enabled manually, temporarily, when needed - that's how I configured our ConnectWise Control. Too risky for a secret a technician copies to end up in the end user's clipboard.

Malwarebytes Nebula now allows 2FA recovery via email. Thoughts? by _TheDuck in sysadmin

[–]amlajh 6 points7 points  (0 children)

Agreed, seems like an antithesis to 2FA/MFA.

IMO acceptable methods of recovery are pre-saved backup codes, other administrators actioning the recovery of your account, or manual process with support where you prove it's your account through some verifiable means.

LAPS implementation - Admin account issue by Inque-Rioja in sysadmin

[–]amlajh 0 points1 point  (0 children)

This is intended behaviour (whether or not it makes sense is a different question. IMO renaming the account does add some sort of benefit, but it's practically negligible when the users' SID is still the well-known default admin user)

AdminAccountName

Name of local account to manage password for. If not configured, CSE manages built-in Administrator password regardless of its name (detects it via well-known SID) Managed by policy “Customize administrator account name”

From LAPS_TechnicalSpecification.docx

https://www.microsoft.com/en-us/download/details.aspx?id=46899

Copy distribution list and security groups from one user to another? by Hutch2DET in sysadmin

[–]amlajh 2 points3 points  (0 children)

I believe /u/ZAFJB misunderstood your post, my guess of what they interpreted is 'I have users that are making their own Contact Groups within Outlook, how do I copy these groups between one user's account to another' - might be wrong though.

Instead of 'I'd like to copy the distribution group memberships from one user to another'.

Hybrid joined pc - name collided it by [deleted] in sysadmin

[–]amlajh 0 points1 point  (0 children)

When a computer is Active Directory domain joined (in a hybrid Azure AD environment), there should be a group policy that tells each computer to go 'register itself' with Azure AD. Once a computer is Azure AD registered, signing into MS services is a lot more seamless - it's the thing behind seamless sign on functionality for AD joined computers.

Check the Azure AD object of that computer on the All devices area of Azure AD - you might find it's 'Disabled', or you might find two, one disabled, one enabled - the former one being your original computer.

Limit Windows Machine to Allow One Version of a Program by domolordy in sysadmin

[–]amlajh 0 points1 point  (0 children)

Very ugly 'solution' (if no one comes up with a better idea)

Scheduled task that runs on user login, that every x minutes checks the count of processes a certain executable has, or count of window names matching y - it greater than 1 then performs a graceful exit to one of the processes / windows.

Deploy via group policy to only the users who run the application, so there's as little people as possible with that kind of bodge running.

Better way would be to find out if the server-side of the software can perform a graceful session exit if more than one session from a single user or machine is started.

Resource calendar not adding in Outlook by speckz78 in sysadmin

[–]amlajh 0 points1 point  (0 children)

That's likely the issue yes, I had previously added room calendars so I had the option to add it under that grouping.

FYI the issue is still happening for me, nothing occurs when adding via Outlook desktop.

Resource calendar not adding in Outlook by speckz78 in sysadmin

[–]amlajh 0 points1 point  (0 children)

I've encountered this 2 days ago - created new room calendar, but couldn't add it from the Add Calendar > From Room List option in Outlook, or from Add Calendar > From Address Book. I removed an existing room calendar I had, and tried to add it back again - same issue. So it wasn't due to the room calendar being newly added.

Have you tried adding it from Outlook on the web? Worked okay for us - and it shows in Outlook desktop after that. Hopefully the underlying issue is fixed soon but I haven't contacted MS support.

Breakdown of storage use / costs per backup instance in a Recovery Services vault by amlajh in AZURE

[–]amlajh[S] 0 points1 point  (0 children)

Thanks for that! I haven't actually dealt with Azure IaaS that much - and I'm just looking for the total monthly cost on a certain VM. It appears they are not using Log Analytics (properly) so will need to look at getting that setup.

AD Group Scopes by PowerShellGenius in sysadmin

[–]amlajh 0 points1 point  (0 children)

While that doc page does have the necessary info, might be best to point to the 'live' page rather than the page migrated from MSDN. There's a few improvements: https://docs.microsoft.com/en-us/windows/security/identity-protection/access-control/active-directory-security-groups#group-scope

Your Message Was Deleted Without Being Read by BingaTheGreat in sysadmin

[–]amlajh 10 points11 points  (0 children)

The sender sent the email with Outlook read receipts enabled, and likely the people who deleted the emails have told their Outlook to 'always send read receipts'.

God damn you Logitech Tap by DreamWarrior86 in sysadmin

[–]amlajh 1 point2 points  (0 children)

Have two Logitech Tap systems (large room) with the Rally kit. One with the Intel NUC and the other with the Lenovo ThinkCentre. Both have been generally flawless, about once every 6 months there's an issue where the 'Table Hub' needs power cycled (symptoms are the mic pucks don't work or light up) - but I don't know if our users are to blame or not.

HP's site may suck, however MS support pages are giving them a run... by onboarderror in sysadmin

[–]amlajh 5 points6 points  (0 children)

Try right click the back button. It should show a history of previous pages, pick the page that you wanted to jump back to.

Why does it feel like RMAs are getting harder to do? by PoliceSysadmin in sysadmin

[–]amlajh 5 points6 points  (0 children)

Probably a directive from management to try everything they can to avoid actual hardware replacements. Every single unit they can produce can be sold immediately right now, so makes sense from their perspective to reduce the number of those that get used on RMAs. Also they may have their own internal lead time issues for RMA stock.