I wrote the following function to rerun an advertisement on a remote client computer using either the AdvertisementID or the PackageID. Like all sample code found online, please run through a test environment first, and use at your own risk!
I was recently tasked with needing to backup an iPhone using iTunes where the screen had been broken. As most iPhone users know, neither iTunes nor most 3rd party iPhone software will sync data with your iPhone when it’s in a locked state. Unfortunately, neither the thumbprint scanner nor the touch screen worked, so I had no way to enter that password.
My first stop was to the Apple Store, hoping that they had some method to backup the data, or that they could fix the device, however neither was possible. The device was beyond repair and would need to be replaced. That was not the answer I was hoping for.
The steps below outline how I unlocked the iPhone so I could backup the data without access to the touchscreen.
I recently had to throw together a quick script to modify the registry of each current user on a set of given laptops, as well as any future users. While a GPO is normally the way to go for something like this, it wasn’t an option for me here. This builds a little more on my May 2017 post where I just needed to get the
Feel free to steal, use, and abuse – but like all samples found online, please run through a test environment first, and use at your own risk!
I created the follow SQL query to create a batch file that uninstalls all known versions of a piece of software. Feel free to use and tweak as you see fit. You should build the query first to make sure you’re only identifying the GUIDs for software you really want to uninstall. You’ll need to setup SSMS to output as text instead of grid view, then copy and paste into a new batch file and trim the top and bottom a bit to remove the junk that comes with the output.