Can't run a script using RDP for Applications.config IIS7.0

When using RDP or the console I can act on this IIS7 file (applications.config) I can view, edit , copy, etc. I do see a "lock" on the icon for the file in I.E.

However when I run a script that tries to open and read this file, nothing happens.  The script is executed by either System or Administrator and it liek the file does not exist.  In  fact all files in theis folder appera to be invisible.
kdschoolAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
Brad HoweConnect With a Mentor DevOps ManagerCommented:
Hm...
This is for security purposes.
The ApplicationHost.config is the root configuration file for IIS 7.0 / 7.5. It includes the definitions of all sites, applications, virtual directories and application pools, as well as global defaults for the web server settings. It is not a file that should be modified via a script.
What manual changes are you making to this file?
Why can't you use IIS Management Interface or appcmd?
What are you trying to achieve?
Remember, an application inherits configuration settings from the server-level configuration files (appicationhost and Machine .config), parent level web.configs and from the site's root application Web.config file.  
Cheers,Hades666
0
 
kdschoolAuthor Commented:
I did not think it should be edited.  Someone working with me thought it could be done.  This helps me go back and say NO...thanks.
0
All Courses

From novice to tech pro — start learning today.