Jump to content

Search the Community

Showing results for tags 'system32'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Announcements and Site News
    • Administration
  • AutoIt v3
    • AutoIt Help and Support
    • AutoIt Technical Discussion
    • AutoIt Example Scripts
  • Scripting and Development
    • Developer General Discussion
    • Language Specific Discussion
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Categories

  • AutoIt Team
    • Beta
    • MVP
  • AutoIt
    • Automation
    • Databases and web connections
    • Data compression
    • Encryption and hash
    • Games
    • GUI Additions
    • Hardware
    • Information gathering
    • Internet protocol suite
    • Maths
    • Media
    • PDF
    • Security
    • Social Media and other Website API
    • Windows
  • Scripting and Development
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Member Title


Location


WWW


Interests

Found 2 results

  1. Hi, I am trying the fix an RDP issue with Windows 11 24H2 by copying some Windows 11 23H2 files in C:\System32, C:\System23\nl-NL and c:\windows\SystemResources. Basically I am doing the following: Run script as #RequiredAdmin FileInstall Win11 RDP files in %temp% Run takeown,exe on de files in C:\Windows to make Administrator owner of the files With iCacls, grant Administrator full rights on the file Copy the files for backup to a folder in c:\Windows\_RDPFilesBackup Copy the 23H2 files (6 files) to the c:\windows using FileCopy + $overwrite flag Set ownership and permission back to the original Copying the first files to C:\System32 and C:\System23\nl-NL is no problem. However when the filecopy try to copy the files to c:\windows\SystemResources, the 2 files get deleted. I checked the user/admin has rights to overwrite the files. When I replace the copy to c:\windows\SystemResources by using Runwait (@comSpec / Copy), the files do get overwritten without problem. I asked ChatGPT to explain this behaviour for FileCopy () and it replied that FileCopy deletes the file first and then copy the new file. If the last step fails, this means the files deleted without being replaced, thus just being deleted. Is this behaviour of FileCopy () right? If so, why does this not happen with the files for the other folder? (all folders have the same permission set) Why does Dos Copy work and FileCopy () fails ? I hope someone can explain this... I am not able to post a the source yet, for I tried to create it with an AI and it is a mess. The next couple of days I try to do post a working excerpt if some of you would like to test this crazy behaviour of FileCopy ()
  2. Hello, when I call a program from C: \ Windows \ System32, I get a ""file not found" if the script was compiled as x86. The script as x64 finds the file without problems. Unfortunately I still need the x86 version, which has to run on both systems. Development system: Windows 10 x64 Is there a way? Script: If FileExists('C:\Windows\System32\ie4uinit.exe') Then MsgBox(0,'file check', 'Executable was found') Else MsgBox(0,'file check', 'Executable was NOT found') EndIf Kind regards Thomas
×
×
  • Create New...