Affiliate Google domain with IP, eclipse Install new software

Source: Internet
Author: User

1.

Open with Notepad in C:\Windows\System32\drivers\etc\hosts--

Add statement at the end of the file:

#google_android更新
203.208.46.146 dl.google.com
203.208.46.146 dl-ssl.google.com


Or new "associated Google domain name and ip.bat" file, the file content is as follows

# affiliate Google domain with IP
#set path=c:\windows\system32\drivers\etc\hosts


echo #google_android更新-c:\windows\system32\drivers\etc >>%path%
echo 203.208.46.146 dl.google.com >>%path%
echo 203.208.46.146 dl-ssl.google.com >>%path%

#start "" "C:\Windows\System32\drivers\etc\"

Double click, run "Associate Google Domain name with Ip.bat" can.


2, if no administrator rights, the new "Add administrator take Ownership-right-click menu." Reg "

Windows Registry Editor Version 5.00
[hkey_classes_root\*\shell\runas]@= Administrator takes ownership "" noworkingdirectory "=" "
[hkey_classes_root\*\shell\runas\command]@= "cmd.exe/c takeown/f \"%1\ "&& icacls \"%1\ "/grant Administrators:f "" Isolatedcommand "=" cmd.exe/c takeown/f \ "%1\" && icacls \ "%1\"/grant administrators:f "
[ Hkey_classes_root\exefile\shell\runas2]@= "Administrator takes ownership" "noworkingdirectory" = ""
[Hkey_classes_root\exefile\shell \runas2\command]@= "cmd.exe/c takeown/f \"%1\ "&& icacls \"%1\ "/grant administrators:f" "Isolatedcommand" = " cmd.exe/c takeown/f \ "%1\" && icacls \ "%1\"/grant administrators:f "
[hkey_classes_root\directory\shell\ Runas]@= "Administrator takes ownership" "noworkingdirectory" = ""
[hkey_classes_root\directory\shell\runas\command]@= "cmd.exe/c takeown/f \ "%1\"/r/d y && icacls \ "%1\"/grant administrators:f/T "" isolatedcommand "=" cmd.exe/c takeown/f \ "% 1\ "/r/d y && icacls \"%1\ "/grant administrators:f/T"

Double-click, run "Add administrator take Ownership-right-click menu. reg", right-->c:\windows\system32\drivers\etc\hosts file,-> Administrator takes ownership, and then retry step 1


3. Supplementary explanation:

New text document. txt, right-click Rename

View full file name, Show Extension: Hide extensions for known file types (unchecked), view files and folders, Folder Options, Tools---Open any folder



Affiliate Google domain with IP, eclipse Install new software

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.