Skip to main content

Posts

Unable to Patch Server - Access is Denied

I faced this issue a few months back, where I could not patch one of our servers. Whenever I tried, I will got this : Error :  Windows Update Standalone Installer Installer encountered an error :  0x80070005 Access is denied. Troubleshooting : Troubleshooting 101 - check the service. Turned out, Windows Update service could not be found in the server... Resolution : There are 2 easy ways to resolve this.... Method 01 : 1) Go to a working server. 2) launch REGEDIT. 3) export below Registry key. Registry key : HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\wuauserv 4) import to the target server 5) restart the server Method 02 :  1) Apply below Registry Keys to the server : [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\wuauserv] "PreshutdownTimeout"=dword:036ee800 "DisplayName"="Windows Update" "ErrorControl"=dword:00000001 "ImagePath"=hex(2):25,00,73,0

Microsoft Outlook Signature : Location of the File

Another simple post - Where is the location of Outlook Signature ? It is at........ C:\Users\<UserID>\AppData\Roaming\Microsoft\Signatures So there are 3 files :  *.htm - for HTML email format *.rtf - for Rich Text email format *.txt - for plain Text email format all of them can be edited via Microsoft Word. simple as, aye?

Windows OS Deployment : Windows setup could not configure Windows to run on this computer's hardware.

I got this error while deploying Windows OS to my environment. It should be straightforward process, but somehow I got stuck with this. Clicking OK will restart the machine, and it still won't resolve the issue. Workaround? run msoobe.exe manually. Issue :  Windows setup could not configure Windows to run on this computer's hardware. Workaround :  Press Shift + F10 , command prompt window will opened  Change the directory to C:\Windows\System32\oobe CMD : cd C:\Windows\System32\oobe  execute msoobe.exe CMD :  msoobe or msoobe.exe  This screen appeared. Proceed with deployment.   Once all done, we'll be back to this screen, restart the machine by using command prompt or just click OK at the message box.

Power Shell : Check Microsoft Service Name / Display Name

One line script - a quick note for myself. To find the service display name based on service name get-service -Name "<serviceName"> To find the service name based on service display name get-service -DisplayName "<serviceDisplayName">

How To : Group Policy Processing ( GPP ) : Add / Edit / Remove INI FIle

It is a common practice for applications to have configurations set in INI file. It may contain information such as language, key, connection setting, version, and so forth. Updating INI file might not affect the application coding, but it may affect on how the application behave. There are multiple ways to update the file, one of it is by using Group Policy Preference ( GPP ).  In this example, I want to update a key file at a specific location with a specific information. Information :  File Location : C:\Temp\key\keyfile.key Content of AppsKey.key :           [Setup]           Key=XXXX-XXXX-XXXX-XXXX As mentioned by Microsoft here , below format must be followed : [SectionName] PropertyName1=PropertyValue1 PropertyName2=PropertyValue2 How To Do :  Edit the policy. Navigate to Preference | Windows Settings  Right click INI Files | New | Ini File  This screen will appear... Action = Different action will do different thing. Refer to the table below File Path =