i can't refresh vs files and add code to my project

hello everyone i recently get this errors ,and i don’t know how to solve it
first one when i want to add a code class it’s show this message

end when i wont to update vs files i get this errors

message :

Failed to generate project files. Log output:
Running C:/Program Files (x86)/Unreal Engine 4.6.1/Unreal Engine/Engine/Binaries/DotNET/UnrealBuildTool.exe -projectfiles -project="D:/amp47 project/Ugamepro/my_first_game/my_first_game.uproject" -game -rocket -progress
Discovering modules, targets and source code for game...
ERROR: System.UnauthorizedAccessException: Access to the path 'C:\Program Files (x86)\Unreal Engine 4.6.1\Unreal Engine\Engine\Intermediate\Build\Win64\UE4Editor\Development\AutoStartupModuleListGetter\AutoStartupModuleListGetter.generated.cpp' is denied.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost)
   at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize)
   at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding)
   at System.IO.File.WriteAllLines(String path, IEnumerable`1 contents)
   at UnrealBuildTool.UEBuildTarget.CreateAutoGeneratedModulesListGetterCPPFile(IEnumerable`1 AutoStartupModuleEnumerable, String DestPath)
   at UnrealBuildTool.UEBuildTarget.CreateAutoStartupModuleListGetters()
   at UnrealBuildTool.UEBuildTarget.Build(IUEToolChain TargetToolChain, List`1& OutputItems, List`1& UObjectModules, String& EULAViolationWarning)
   at UnrealBuildTool.UnrealBuildTool.RunUBT(String[] Arguments)

any help will be appreciated