cant save my hosts file

cranberry

New Member
I run the program (notepad) as administrator and i get a window that says access is denied what do i do if anyone can help me if you can i would very much appreciate it.:(
 

Attachments

  • access is denied.jpg
    access is denied.jpg
    6.1 KB · Views: 239

My Computer

Are you sure Notepad is running as admin?
 

My Computer

System One

  • Manufacturer/Model
    Sony Vaio Z46GDU
    CPU
    [email protected] w/6MB L2 cache 1066MHz FSB
    Memory
    6GB DDR3 1066MHz SDRAM
    Graphics Card(s)
    9300M GS 256MB + Intel Integrated 4500MHD
    Monitor(s) Displays
    13.1" WXGA True Colour Tough
    Screen Resolution
    1600x900
    Hard Drives
    320GB SATA 7200RPM
    Internet Speed
    1MB/s
I run the program (notepad) as administrator and i get a window that says access is denied what do i do if anyone can help me if you can i would very much appreciate it.:(

what are you trying to open? hosts? what directory is it in?
 

My Computer

System One

  • Manufacturer/Model
    Dell Inspiron E 1405
    CPU
    [email protected]
    Memory
    4 gigs
    Graphics Card(s)
    integrated intel 945
    Sound Card
    integrated
    Screen Resolution
    1440x900
    Hard Drives
    300 gig internal
    Internet Speed
    10 down 1.5 up
I run the program (notepad) as administrator and i get a window that says access is denied what do i do if anyone can help me if you can i would very much appreciate it.:(

what are you trying to open? hosts? what directory is it in?

hosts is the first place a computer will go to try to resolve a web address. I think in UNIX it was stored in etc/hosts.

You may need to add permission to edit file. Or open as admin. B/c normally a user would not own this file.
 

My Computer

System One

  • Manufacturer/Model
    Custom
    CPU
    AMD AM2 6000+
    Motherboard
    Nvidia M2N-E SLI
    Graphics Card(s)
    GeForce 7600GT
    Screen Resolution
    1280x1024
    Hard Drives
    WD
    Case
    Cooler Master
    Cooling
    Three fans
    Keyboard
    Dell Quietkey
    Mouse
    Dell Optical
    Internet Speed
    10 MBPS
Aha.

Edit the Hosts File

Non-frequent Edit

  1. Open Notepad with Administrative privileges by clicking Start, All Programs, Accessories, and then right-click Notepad and select to open as Administrator.
  2. Now that Notepad is open with Administrative privileges browse to (C:\Windows\System32\drivers\etc) in Notepad and open the hosts file.
Now you can edit and save the hosts file.
Frequent Editing
I sometimes frequently edit my hosts file and like a shortcut on my desktop for easy editing. Here’s how to create a shortcut on your desktop and lets you quickly and easily open your hosts file with Notepad and edit it.

  1. Send a shortcut to Notepad to your desktop by right-clicking Notepad in the start menu and selecting send to desktop.
  2. Right-click the shortcut to Notepad on your desktop and select properties.
  3. Click the advanced button near the bottom of the shortcut tab and check off run as administrator. Click OK in the advanced properties window.
  4. Replace %SystemRoot%\system32\notepad.exe with %SystemRoot%\system32\notepad.exe C:\Windows\System32\drivers\etc\hosts in the target box. Click OK in the properties window to save the changes.
Now all you have to do is open that shortcut to open your hosts file with Notepad with administrative privileges.
 

My Computer

System One

  • Manufacturer/Model
    Custom
    CPU
    AMD AM2 6000+
    Motherboard
    Nvidia M2N-E SLI
    Graphics Card(s)
    GeForce 7600GT
    Screen Resolution
    1280x1024
    Hard Drives
    WD
    Case
    Cooler Master
    Cooling
    Three fans
    Keyboard
    Dell Quietkey
    Mouse
    Dell Optical
    Internet Speed
    10 MBPS

My Computer

System One

  • Manufacturer/Model
    Custom
    CPU
    AMD AM2 6000+
    Motherboard
    Nvidia M2N-E SLI
    Graphics Card(s)
    GeForce 7600GT
    Screen Resolution
    1280x1024
    Hard Drives
    WD
    Case
    Cooler Master
    Cooling
    Three fans
    Keyboard
    Dell Quietkey
    Mouse
    Dell Optical
    Internet Speed
    10 MBPS
i run as admin and then
its C:\Windows\System32\drivers\etc

You try save as *.doc, and save to desktop?


also can you right click the file before you change it and get the owner?
 

My Computer

System One

  • Manufacturer/Model
    Dell Inspiron E 1405
    CPU
    [email protected]
    Memory
    4 gigs
    Graphics Card(s)
    integrated intel 945
    Sound Card
    integrated
    Screen Resolution
    1440x900
    Hard Drives
    300 gig internal
    Internet Speed
    10 down 1.5 up
Aha.

Edit the Hosts File

Non-frequent Edit

  1. Open Notepad with Administrative privileges by clicking Start, All Programs, Accessories, and then right-click Notepad and select to open as Administrator.
  2. Now that Notepad is open with Administrative privileges browse to (C:\Windows\System32\drivers\etc) in Notepad and open the hosts file.
Now you can edit and save the hosts file.
Frequent Editing
I sometimes frequently edit my hosts file and like a shortcut on my desktop for easy editing. Here’s how to create a shortcut on your desktop and lets you quickly and easily open your hosts file with Notepad and edit it.

  1. Send a shortcut to Notepad to your desktop by right-clicking Notepad in the start menu and selecting send to desktop.
  2. Right-click the shortcut to Notepad on your desktop and select properties.
  3. Click the advanced button near the bottom of the shortcut tab and check off run as administrator. Click OK in the advanced properties window.
  4. Replace %SystemRoot%\system32\notepad.exe with %SystemRoot%\system32\notepad.exe C:\Windows\System32\drivers\etc\hosts in the target box. Click OK in the properties window to save the changes.
Now all you have to do is open that shortcut to open your hosts file with Notepad with administrative privileges.





Srry i didnt get number 4
 

My Computer

.
  1. Replace %SystemRoot%\system32\notepad.exe with %SystemRoot%\system32\notepad.exe C:\Windows\System32\drivers\etc\hosts in the target box. Click OK in the properties window to save the changes.
Now all you have to do is open that shortcut to open your hosts file with Notepad with administrative privileges.


Srry i didnt get number 4[/QUOTE]

In properties, you can access the target box. It might just be easier for you to follow the first procedure.
 

My Computer

System One

  • Manufacturer/Model
    Custom
    CPU
    AMD AM2 6000+
    Motherboard
    Nvidia M2N-E SLI
    Graphics Card(s)
    GeForce 7600GT
    Screen Resolution
    1280x1024
    Hard Drives
    WD
    Case
    Cooler Master
    Cooling
    Three fans
    Keyboard
    Dell Quietkey
    Mouse
    Dell Optical
    Internet Speed
    10 MBPS

My Computer

System One

  • Manufacturer/Model
    Dell Inspiron E 1405
    CPU
    [email protected]
    Memory
    4 gigs
    Graphics Card(s)
    integrated intel 945
    Sound Card
    integrated
    Screen Resolution
    1440x900
    Hard Drives
    300 gig internal
    Internet Speed
    10 down 1.5 up
Re: Take Ownership of file question nuber 8 i picked my owner but then i forgot to Replace owner on subcontainers and objects, so basically im screwed right? how can i change that
 

My Computer

Re: Take Ownership of file

question nuber 8 i picked my owner but then i forgot to Replace owner on subcontainers and objects, so basically im screwed right? how can i change that

Go back and re-do it with /s (sub folders) checked. Your not scre**D unless the files belong to admin and you dont have admin privledges.

Ken
 

My Computer

System One

  • Manufacturer/Model
    Dell Inspiron E 1405
    CPU
    [email protected]
    Memory
    4 gigs
    Graphics Card(s)
    integrated intel 945
    Sound Card
    integrated
    Screen Resolution
    1440x900
    Hard Drives
    300 gig internal
    Internet Speed
    10 down 1.5 up
Cranberry

Ok you are having trouble with saving the hosts file. Why do you need to change it?
 

My Computer

System One

  • Manufacturer/Model
    Dell Inspiron E 1405
    CPU
    [email protected]
    Memory
    4 gigs
    Graphics Card(s)
    integrated intel 945
    Sound Card
    integrated
    Screen Resolution
    1440x900
    Hard Drives
    300 gig internal
    Internet Speed
    10 down 1.5 up
Back
Top