Jump to content

SWSSSM

Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by SWSSSM

  1. Hi there, maybe someone can help me. If automated a script that should xcopy from various paths (all within C:\*\...) to a external Disk (HDD). (Backup data of users who get new pcs win10) I tried it several times with windows 10 home/pro any clients and never got any failure. (after the testing was done) But when i tried to run it shortly ago on a windows 7 pro x64 client, the script started (as i saw in taskmanagr.exe) but i didn't performed any of the actions when i came down to the xcopy part. (in the systemtray, it showd the scipt to start, but it was marked as "paused" and i couldn't stop this. No plan why) i inserted/attached the script down here. Does anyone know why? any ideas?backup-scrp.au3 PS: the tray debug line just added by today (i re-try it tomorrow when i've set up another win7 client to test with) PPS: i know my coding-style isn't very optimized
  2. Hey Girls & Guys I tried to create an scipt part (like the fist part) that includes RegWrite commands and Send Commands to write a registry key (just one). After part 1 would come part 2/3/4/5 (all just install-parts with RUN that i already wrote) Can someone help me, what is wrong in my Part1 script? Here the script: ; Folder: 01. Enable\Optimierung.reg - Registry key add part #RequireAdmin ; Admin priviledge $regFile = @TempDir & '\01. Enable\Optimierung.reg' RunWait("Regedit " & $regFile) ; Key check RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System", "EnableLinkedConnections") ; Key write RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System", "EnableLinkedConnections", "REG_DWORD", "00000001") Sleep(4000) If WinActive("Registrierungs-Editor", "") Then Send("{ENTER}") EndIf
×
×
  • Create New...