Start Dev IIS Express Server

Start Development IIS Express Server (tested on Win7 and Win10 with mapped network drives) @echo off REM Script will start IIS Express on the specific port with the folder FROM WHICH SCRIPT IS CALLED REM REM IIS Express does the following: REM * Copies default applicationhost.config file ("C:\Program Files\IIS Express\AppServer\applicationhost.config") to %TEMP%\IISEXPRESS\APPLICATIONHOST{TimeStampGoesHere}.CONFIG (where timestamp is current date+time with milliseconds) REM * The copied config file is modified to specify the physical path (<application ...> --> <virtualDirectory ...> physicalPath property) and the port (<bindings> -> <binding ...> bindingInformation property) REM * Path to custom configuration file can also be provided in the command line using /config:{FullPathToIISApplicationHostCustomConfigFile} set iisexpress_loc="C:\Program Files\IIS Express\iisexpress.exe" set folder_loc=%cd% set port_loc=2018 if [%1]==[--help] goto syntax if [%1]==[/?] goto syntax if [%1]==[] goto proceed set port_loc=%1 :proceed echo. echo Make "%folder_loc%" accessible from "http://localhost:%port_loc%" ... echo. %iisexpress_loc% /path:"%folder_loc%" /port:%port_loc% /trace:w /systray:true goto exit :syntax echo. echo Syntax: %0 PortNumberGoesHere echo Default Port: %port_loc% echo. goto exit :exit echo. echo. echo. pause

November 10, 2018 · 1 min

Remove Win10 Icon and Fix Auto Updates

Remove Windows 10 Icon and Fix Auto Updates Run cmd as Administrator C:\>powershell Windows PowerShell Copyright (C) 2009 Microsoft Corporation. All rights reserved. PS C:\> get-hotfix -id KB3035583, KB2952664, KB2976978, KB3021917, KB3044374, KB2990214 Source Description HotFixID InstalledBy InstalledOn ------ ----------- -------- ----------- ----------- MYPCNAME Update KB2952664 NT AUTHORITY\SYSTEM 7/15/2015 12:00:00 AM MYPCNAME Update KB2990214 NT AUTHORITY\SYSTEM 4/15/2015 12:00:00 AM MYPCNAME Update KB3021917 NT AUTHORITY\SYSTEM 2/11/2015 12:00:00 AM MYPCNAME Update KB3035583 NT AUTHORITY\SYSTEM 7/17/2015 12:00:00 AM PS C:\> exit C:\>wusa /uninstall /kb:2952664 C:\>wusa /uninstall /kb:2990214 C:\>wusa /uninstall /kb:3021917 C:\>wusa /uninstall /kb:3035583 C:\>

July 24, 2015 · 1 min

Reset NIC (Network Interface Card) and Firewall Settings

Reset Network Card and Firewall settings Start from elevated prompt Reset firewall and NIC configuration states with netsh Export current active policy of Windows Firewall to a specified file. netsh advfirewall export %temp%\advfirewall.wfw Restore the Windows Firewall with Advanced Security policy to the default policy. In a Group Policy object, this command returns all settings to not configured and deletes all connection security and firewall rules. netsh advfirewall reset Resets the BranchCache service. Flushes the local cache. Every configuration parameter of BranchCache will be reset to its default value. ...

September 7, 2014 · 2 min