CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 11 of 11

Threaded View

  1. #1
    Join Date
    Jul 2007
    Location
    Illinois
    Posts
    517

    [RESOLVED] Run Key Copies EXE to System32

    I am attempting to make an application run on startup for every user on the local machine (pretty easy, I know) however if I place an entry into the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run key, it starts the application fine but "copies" the executable and runs it in the Windows\system32 folder which causes problems with licensing and the like. I am using the full path to the executable, so its not relative to the system32 folder...
    Whats going on here? Why doesn't it run it from the executable folder where it is located?
    Last edited by RaleTheBlade; June 23rd, 2009 at 01:18 PM.
    R.I.P. 3.5" Floppy Drives
    "I know not with what weapons World War III will be fought, but World War IV will be fought with sticks and stones." - Albert Einstein

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured