How deeply should one understand other people's work before building on them?
Although you are logged on as admin, any program you run in Win7 has reduced permissions. Therefore, even an admin needs to use "Run as Administrator" to run with full permissions.
Use Visual Studio with "Run as Administrator" to find out if that's what's going on.
Python + Selenium, 496 bytes
I decided using the front end of the website would be cooler. And since nearly everything is loaded via JavaScript, Selenium was my best bet.
from selenium import webdriver
from re import*
d=webdriver.Chrome("a.exe")
d.get("https://tio.run/#")
t={e.text.lower():e.get_attribute("data-id")for e in d.find_elements_by_xpath('//*[@id="results"]/div')}
def q(reg):s=reg.group(0);d.get("https://tio.run/#"+t[s.lower()]);d.find_element_by_id("permalink").click();a=d.find_elements_by_tag_name("textarea")[4].get_attribute('value');return"["+s+"]("+search(': (ht.*)\n',a).group(1)+")"
print(sub('|'.join(map(escape,t.keys())),q,input(),flags=I))
Pseudo-Ungolfed Version
I thought providing an in-between would be useful for understanding.
from selenium import webdriver
import re
import itertools
input = lambda:"47////////"
s = input()
driver = webdriver.Chrome("chromedriver.exe")
driver.get("https://tio.run/#")
temp = {ele.text.lower():ele.get_attribute("data-id")for ele in driver.find_element_by_id("results").find_elements_by_tag_name("div")}
def abc(reg):
s=reg.group(0)
driver.get("https://tio.run/#"+temp[s.lower()])
ele = driver.find_element_by_id("permalink").click()
a = driver.find_elements_by_tag_name("textarea")[4].get_attribute('value')
return"["+s+"]("+re.search(': (ht.*)\n',a).group(1)+")"
bob = re.sub('|'.join(map(re.escape,temp.keys())),abc,s,flags=re.I)
print(bob)