My scenario: I have my batch file and powershell file in the Sources\$1\UpdatePC folder. The files copy over to C:\UpdatePC correctly. I have the runonce registry key that calls the batch file from the HKCU location:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunOnce]...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.