Remove Windows 2008 r2 WinSXS "Windows Update" files

copy C:\Windows\winsxs\amd64_microsoft-windows-cleanmgr_31bf3856ad364e35_6.1.7600.16385_none_c9392808773cd7da\cleanmgr.exe to %systemroot%\System32 copy C:\Windows\winsxs\amd64_microsoft-windows-cleanmgr.resources_31bf3856ad364e35_6.1.7600.16385_en-us_b9cb6194b257cc63\cleanmgr.exe.mui to %systemroot%\System32\en-Us Run cmd > cleanmgr and remove all the nasty update files! After I cleaned up the server I had to stop the windows installer service (trustedinstaller.exe) to remove the c:\windows\logs\cbs\CBS.log (6GB file) manually. Maybe a restart of the server do the same but I cannot test it on a production environment. Have fun! Source: https://support.appliedi.net/kb/a110/how-to-enable-the-disk-cleanup-tool-on-windows-server-2008-r2.aspx

June 6, 2016 · 1 min · thomasf
SSL-Certificate-how-to-secure-your-web-site

Convert PFX to PEM and upload the certificate to Plesk

Export the Private Key: ` openssl pkcs12 -in filename.pfx -nocerts -out key.pem Remove the password from the SSL certificate (unencrypted is needed for plesk): openssl rsa -in key.pem -out server.key Export the certificate: openssl pkcs12 -in filename.pfx -clcerts -nokeys -out cert.pem ` Now upload the certificate: And bind the certificate in your hosting settings:

December 21, 2015 · 1 min · thomasf
slow-moving-websites-sign

Troubleshoot IIS hangs

I’ve created a batch file which find out what was hanging my .NET application. :loop CLS time /t >>crappy_site_log.txt %windir%\system32\inetsrv\appcmd list requests /elapsed:5000 >>crappy_site_log.txt ping -n 4 127.0.0.1 GOTO loop This command logs every request above the 5 seconds. This idea came from: https://www.leansentry.com/Guide/IIS-AspNet-Hangs

November 4, 2015 · 1 min · thomasf
Closed-loop-marketing-blog

Windows update is looping forever

On my windows 2008 r2 server, Windows update was running forever :( I tried a lot of things but fixing the problem was really simple: Go to https://support.microsoft.com/en-us/kb/971058 Download the fixit Run the fixit and follow the wizard Then your problem will be fixed automatically :) Still problems? Try this post: http://superuser.com/questions/951960/windows-7-sp1-windows-update-stuck-checking-for-updates Note: If you have a WSUS server and you still have problems to find windows updates you can try to temporary disable the WSUS client to change the registry key UseWUServer to dword:00000000 [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU] "UseWUServer"=dword:00000000

August 27, 2015 · 1 min · thomasf
namebench

Find your fastest DNS server

There is a nice cross-platform open source tool to find out what the best DNS server is for your internet connection. Go to https://code.google.com/p/namebench/downloads/list Download the namebench tool Extract and start the tool Click on “Start Benchmark This benchmark takes some time. About +/- 15 minutes. Then you get the results in your browser: 201% faster name query performance!!! WOW! When everything is setup you can check your DNS settings with a nice website: https://www.dnsleaktest.com/ ...

August 19, 2015 · 1 min · thomasf

Virtualbox Windows 10 64 bits guests are missing

Solution is very simple… Remove Hyper-V :)

August 8, 2015 · 1 min · thomasf
spyware

Remove Spyware

First I had a problem with delta-homes.com spyware. When I remove that software a crappy mystartsearch.com browser hijacker came by… ARGGG!!!! So removing the software is quite easy when you follow this staps Download superantispyware (free) Install superantispyware (select free editon) Run a quick scan Clean and reboot Run a full scan Clean and reboot Download and run ADWCleaner Scan and clean Enjoy your adware free system :)

June 4, 2015 · 1 min · thomasf
disk

Fix Intel SSD 320 problem on a Macbook

From one day to another my Intel 320 SSD was not visible anymore. So I download Ubuntu 14.04 boot it and start gparted. Then I saw no SSD disk in my disk selection :( So I download the Intel firmware tool and boot it and then I get a BAD_CTX and a disk with 0GB :( After some google’ing on the BAD_CTX I saw this was an known issue. The only way to fix this was completely secure erase your disk and so all your data on the disk is gone ARRRRGGGGG!!!!!!!!!!!!!!!!!!!!!!!!!! ...

April 29, 2015 · 2 min · thomasf

Cannot disable mail enabled public folders

Output PS C:\Users\jfb> get-mailpublicfolder -Identity "bccp11-036" Alias Identity ----- -------- bccp11-036 matricis.local/Microsoft Exchange System Objects/Correspondance 81807753 PS C:\Users\jfb> disable-mailpublicfolder -Identity "matricis.local/Microsoft Exchange System Objects/Correspondance 81807753" Disable-MailPublicFolder : No existing 'PublicFolder' matches the following Identity: 'matricis.local/Microsoft Exchange System Objects/Correspondance 81807753' At line:1 char:25 + disable-mailpublicfolder <<<< -Identity "matricis.local/Microsoft Exchange System Objects/Correspondance 81807753" + CategoryInfo : NotSpecified: (0:Int32) [Disable-MailPublicFolder], MapiOperationException + FullyQualifiedErrorId : 826D5700,Microsoft.Exchange.Management.MapiTasks.DisableMailPublicFolder Cause I have resolved the issue, to solve this, we have to go into Active Directory Users and Computers. Under View, select Advanced Features. Now, under the /Microsoft Exchange System Objects folder, manually delete the Correspondance 81807753 object. ...

April 9, 2015 · 1 min · thomasf
usb

Clone HP ThinState Capture USB stick (or any other USB disk)

The ThinState USB disk is split into 2 partitions. And the second partition isn’t accessible in Windows so it was very hard to build a stick from scratch. There are a lot of Windows USB clone tools but because I had to clone the ThinState 16GB to a 8GB stick also, it was impossible to do it from my windows workstation. But when some things get more difficulty what do you do? Use Linux :) ...

April 8, 2015 · 2 min · thomasf