Jump to content

Missing files in system32


Mean
 Share

Recommended Posts

Im trying to run wuauclt.exe on a 64 bit machine. The strange thing is I get a "file not found" error.

So I start a cmd from my script and run a "dir" in the system 32 folder and the file is missing???

I run cmd from the startmenu and run a dir in the system32 folder and the file is there.

I compare the two command prompts and there is a bunch of files missing in one of them. What is going in here???

Link to comment
Share on other sites

Hi Mean,

let me guess that you are running this on a 64bit operating system.

If you compiled your exe as a 32bit program you'll see the files from \windows\system32.

If running it from a 64bit program you'll see the contents of the \windows\SysWOW64 folder.

It's not a bug it's a feature. :graduated:

Regards,Hannes[spoiler]If you can't convince them, confuse them![/spoiler]
Link to comment
Share on other sites

Hi Mean,

let me guess that you are running this on a 64bit operating system.

If you compiled your exe as a 32bit program you'll see the files from \windows\system32.

If running it from a 64bit program you'll see the contents of the \windows\SysWOW64 folder.

It's not a bug it's a feature. :graduated:

Yes I am making a 32 bit app. But the files cant be found in the \windows\SysWOW64 folder ether.
Link to comment
Share on other sites

%windir%\Sysnative

Maybe you want to show us the part of your code where you have the problem with.

it just one line

RunWait("wuauclt.exe /resetauthorization /detectnow")

I found out how to do it after the 64 bit pointer

RunWait(@WindowsDir &"\sysnative\wuauclt.exe /resetauthorization /detectnow")

Edited by Mean
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...