Alkane Solutions
Alkane Solutions Fixed-Price Application Packaging | Trusted IT Partner
Alkane Solutions | G-Cloud Supplier Alkane Solutions | Microsoft Partner

Main menu

Skip to primary content
Skip to secondary content
  • Hire Us
    • End User Compute
      • Software Services
      • Hardware Services
      • Licensing Services
      • Security Services
      • Support Services
    • Tooling and Automation
      • Bespoke Tooling Services
      • Robotic Process Automation Services
    • Web
      • Web Hosting Services
      • Web Development Services
    • Team
    • Case StudiesCase studies of the work we have done for our clients.
  • Contact Us
  • Log In
  • Register

Home » Batch Scripts

Useful batch scripts


Avoid Error 0x800f0906 by Bypassing the Windows Updates Server

Posted on July 30th, 2021

An organisation we work with have removed Microsoft QuickAssist from their corporate build – presumably they saw this as a potential security risk.  Here we explain how to avoid error 0x800f0906 by Bypassing the Windows Updates Server. We had an … Continue reading →

Tagged 0x800f0906, dism, windows updates |

Wait For a Service To Stop in a Batch File

Posted on May 29th, 2019

Sometimes in a batch file we need to wait for a service to stop in a batch file before we continue to processing our script.  NET STOP will only wait a finite amount of time for a service to stop, … Continue reading →

Tagged net stop |

Register or Unregister DLLs in a Folder

Posted on May 22nd, 2019

Sometimes when we’re debugging an application we might want to ensure that every DLL (or OCX) is registered correctly.  And rather than registering each assembly manually we can write a batch file to register or unregister DLLs in a folder: … Continue reading →

Tagged regsvr32 |

Check If a Windows Update Exists

Posted on May 16th, 2019

Here’s a script that will check if a windows update exists on a device.  Yes, there are manual ways of finding out by navigating to Control Panel > Programs and Features > View Installed Updates, but sometimes it’s quicker to … Continue reading →

Tagged KB patch, Windows Update |

Wait For a Process in a Batch File

Posted on October 31st, 2018

A while ago I needed to wait for a process in a batch file to finish before the script continued.  I did it by using an If statement to create a ‘spoof’ loop, with a delay between each loop iteration … Continue reading →

Tagged wait for process |

Contact Us!

    Your Name (required)

    Your Email (required)

    Subject

    Your Message

    Over

    15,000

    Applications
    Packaged

    Over

    27

    Successful
    Migrations

    Over

    100

    Happy
    Clients

    Application Packaging Services in Manchester, UK.
    12b Kennerleys Lane, Wilmslow, England, SK9 5EQ

    Application Packaging Services in London, UK.
    152-160 City Road, London, EC1V 2NX.

    © Alkane Solutions Ltd 2025
    Privacy Policy | Modern Slavery | LinkedIn | Blog Posts