Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using System.Diagnostics;
- using Microsoft.Win32;
- namespace citrix_web_setup
- {
- class Program
- {
- static void Main(string[] args)
- {
- try
- {
- //echo off
- Registry.SetValue("HKCUSOFTWAREMicrosoftWindowsCurrentVersion Internet SettingsZoneMapDomainsdhtsg.net", " ", "/f");
- Registry.SetValue("HKCUSOFTWAREMicrosoftWindowsCurrentVersionInternet SettingsZoneMapDomainsdhtsg.nethcas", " ", "/v https /t REG_DWORD /d 2 /f");
- Registry.SetValue("HKCUSOFTWAREMicrosoftWindowsCurrentVersionInternet SettingsZones2", " ", "/v CurrentLevel /t REG_DWORD /d 0x00010500 /f");
- Registry.SetValue("HKLMSOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem"," ", "/v EnableLUA /t REG_DWORD /d 0 /f");
- Console.WriteLine( [InternetShortcut] > "%userprofile%DesktopAHT.URL");
- Console.WriteLine(URL=https://hcas.dhtsg.net >> "%userprofile%DesktopAHT.URL");
- Console.WriteLine(IconFile=https://hcas.dhtsg.net/favicon.ico >> "%userprofile%DesktopAHT.URL");
- Console.WriteLine(IconIndex=0 >> "%userprofile%DesktopAHT.URL");
- Console.WriteLine([InternetShortcut] > "%userprofile%DesktopBomgar.URL");
- Console.WriteLine(URL=http://support.dhgllp.com >> "%userprofile%DesktopBomgar.URL");
- Console.WriteLine(IconFile=http://support.dhgllp.com/favicon.ico >> "%userprofile%DesktopBomgar.URL");
- Console.WriteLine(IconIndex=0 >> "%userprofile%DesktopBomgar.URL");
- Process.Start("http://support.dhgllp.com/files/CitrixOnlinePluginWeb.exe");
- }
- catch(Exception e){
- Console.WriteLine(e.Message);
- Console.ReadLine();
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement