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

Advertisements

Adding Windows OEM information

1. Type regedit in RUN dialog box or Start Menu searchbox and press Enter. It’ll open Registry Editor, now go to:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion

Under this key, look for a key OEMInformation. If it doesn’t exist, create it.

2. Now select OEMInformation key and in right-side pane, create following String values and set their values as shown below:

Logopath_of_OEMlogo.bmp_file
ManufacturerAny_desired_name
ModelAny_desired_name
SupportHoursAny_desired_time_amount_like_24x7
SupportPhoneAny_desired_phone_number
SupportURLAny_desired_URL

https://www.askvg.com/add-customized-strings-in-system-properties-dialog-box-of-windows-vista/

 

 

Windows 10 Custom Start Menu and TaskBar sequences

Various issues and errors getting this imported and .lnk/ .url shortcuts have to be in a specific place.

<LayoutModificationTemplate
xmlns=”http://schemas.microsoft.com/Start/2014/LayoutModification
xmlns:defaultlayout=”http://schemas.microsoft.com/Start/2014/FullDefaultLayout
xmlns:start=”http://schemas.microsoft.com/Start/2014/StartLayout
xmlns:taskbar=”http://schemas.microsoft.com/Start/2014/TaskbarLayout
Version=”1″>

Cannot connect to servers through VPN The username could not be found

Using the Azure Point-to-Site VPN client we could establish a connection to servers using the FQDN only anything else would fail with a Username could not be found error which the main issue was the fact it broke GPO processing as the GPO looks at the \\domain.local DFS location rather than DC by FQDN.

\\server.domain.local fine
\\server fails
\\ipaddress fails

Following website has pointed me in the right direction

https://conetrix.com/Blog/Access-Domain-Resources-When-Connected-to-VPN

When I run the command cmdkey.exe /delete /ras everything works correctly again

I did try to edit the pbk and change the UseRaSCredentials=0 but it didn’t seem to work for me.  Still have to manually run the command above once established but I can easily fire this from a custom scheduled task