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″>

MBAM 2.5 SP1 does include Win 10 computers in “MBAM Supported Computers Group”

For some reason Win 10 computers would not appear in the “MBAM Supported Computers Group” so I have created an additional membership rule for WQL using the format below.  This is SCCM 2016 Mbam 2.5 SP1 with latest KB patch.

select SMS_R_System.ResourceId, SMS_R_System.ResourceType, SMS_R_System.Name, SMS_R_System.SMSUniqueIdentifier, SMS_R_System.ResourceDomainORWorkgroup, SMS_R_System.Client from SMS_R_System inner join SMS_G_System_OPERATING_SYSTEM on SMS_G_System_OPERATING_SYSTEM.ResourceID = SMS_R_System.ResourceId inner join SMS_G_System_COMPUTER_SYSTEM on SMS_G_System_COMPUTER_SYSTEM.ResourceID = SMS_R_System.ResourceId inner join SMS_G_System_TPM on SMS_G_System_TPM.ResourceId = SMS_R_System.ResourceId where SMS_G_System_OPERATING_SYSTEM.Version like “10.%” and SMS_G_System_TPM.SpecVersion > “1.2” and SMS_G_System_COMPUTER_SYSTEM.DomainRole = 1

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