FAQ Database Discussion Community

Directory enumeration is missing csrss.exe and lsass.exe (c#)

I'm trying to enumerate files in C:\Windows\system32 and C:\Windows\SysWow64. But I'm missing files csrss.exe and lsass.exe and possibly more, I only checked these two files. Those files are there, I can see them in total commander and in explorer. They are just not in the enumeration result. List<string> result =...

C# calling batch file failed to copy dll files to System32 folder

I have created a batch file that copies some dll files into System32 folder. I ran this batch from my program written in C# code: string path = @"ABC\install.bat"; ProcessStartInfo procStartInfo = new ProcessStartInfo() { UseShellExecute = true, CreateNoWindow = false, FileName = "\"" + path + "\"", //Arguments =...

Testing for path in SysWOW64 returns true if path does not exist, but does exist in System32

NOTE: I am on a 64-bit system. I am having trouble finding articles regarding my current situation. I using PowerShell to test if a certain path exists: "C:\Windows\SysWOW64\config\systemprofile\Desktop" and it returns true even though the Desktop folder does not exist in SysWOW64. I know it is related to the fact...