Browsed by
Category: Uncategorized

How to secure Windows Remote Desktop (RDP)

How to secure Windows Remote Desktop (RDP)

How secure is Windows RDP? By default, a Remote Desktop session is operated via an encrypted channel which prevents anyone to view your session by network listening methods. Although this is a secure method, it is still susceptible to “man-in-the-middle-attack” to a certain degree as well as a form of brute-force attacks or simple guesses if the attacker has any info on your general likes, preferences and habits (Social media is fun indeed). Basic security tips Keep your Windows updated…

Read More Read More

Set up a proxy server on the machine level

Set up a proxy server on the machine level

Set up the proxy for a system account ExecutePsExec.exe -i -s cmd.exeto run the command prompt under a system account.Note: Check whether you have the proper login set up by executing the “whoami” command. The response should be “nt authority\network service” Execute%PROGRAMFILES%\Internet Explorer\iexplore.exeto run Internet explorer in system context. Open the Control Panel, and go to Internet Options > Connections > LAN settings. Click Use a proxy server, and define your proxy settings. Set up the proxy for a network…

Read More Read More

Enable/Disable Hyper-V

Enable/Disable Hyper-V

To disable Hyper-V from starting the following command can be used: bcdedit /set hypervisorlaunchtype off To enable the Hyper-V role again use the following command: bcdedit /set hypervisorlaunchtype auto A reboot of of the Windows 10 is necessary.

HTTP Status Codes Explained

HTTP Status Codes Explained

In this article, we would be discussing all of the HTTP Status Codes, what are they, how are the categorized, what each category contains and meaning of each and every status code.  HTTP Status Codes | Full Stack Geek Table of Contents What are HTTP Status Codes Categorization and Detailed Explanation of all HTTP Status Codes 1XX – Informational 2XX – Success 3XX – Redirection 4XX – Client Error 5XX – Server Error Recommended Articles References What are HTTP Status Codes:…

Read More Read More

Clone git repo hosted on a Windows shared folder from Mac OS X

Clone git repo hosted on a Windows shared folder from Mac OS X

I kind of like to think that remote file system access is an OS thing, and that cloning repos is an application-level thing, so this would be my approach: You should just be able to mount that SMB share with your OS’es functions to a local directory and clone from there, instead of hoping git has a transport for SMB. How to mount: Connect to the server on your Mac. Now, on your Mac, from Finder’s Go menu, choose “Connect…

Read More Read More

How to eliminate blank rows while exporting to Excel?

How to eliminate blank rows while exporting to Excel?

align to top arrange lines The first align to top: Select all fields on the row, right click, align to top move the selection to the top of details section (no space between the details section and the section above remove remaining space at the bottom of the details section The second: right click details click on arrange lines right click details again click on fit section This solved the issue for me. Sometimes only the first part is necesarry.

Git for Windows with TFS and SSL behind a proxy

Git for Windows with TFS and SSL behind a proxy

If you run your TFS on prem and use git for windows you may run into two issues. The first occurs if you use SSL for your TFS. The second occurs if you are behind a proxy. Use Git for Windows with a corporate SSL certificate If you have a corporate SSL certificate and want to clone your repo from the console or VSCode you get the following error: fatal: unable to access ‘https://myserver/tfs/DefaultCollection/_git/Proj/’: SSL certificate problem: unable to get…

Read More Read More

How to make IIS7 play nice with Office Interop

How to make IIS7 play nice with Office Interop

Source I’ve just started working on a new project for which we had to dig out one of our older libraries. We wrote it to retrieve data from MS Excel workbooks using the Office interop assemblies, and thus far it has never given us issues. A slight change this time round was that we were using our library in an ASP.NET site rather than a desktop application. As a result I was faced with two errors that we’d never seen…

Read More Read More