Closed braunr74 closed 2 years ago
@braunr74 Would you test v2.1.0 release?
The issue appears to be that if the scanner is executed remotely then the permissions are higher than if it is run locally. When launched via PSExec, Invoke-Command or Ansible (WinRM) then the command can access c:\Documents and Settings
Invoke-Command -ComputerName
Invoke-Command -ScriptBlock {&dir "C:\Documents and Settings.NET v4.5\AppData\Local\Application Data"} will get permission denied.
Thanks for the workaround code - it spends about 90 secs lost in c:\Documents and Settings then moves on, improving the time it takes to complete from 3hr 15m to 10m
@IanSJones Wow.. pretty much time savings!
yeh - we're just compiling an exe and will be running this against our 8,000 servers
Update - there is an official update out that avoids this "ReparsePoint" - better to use that than the fix above.
On some Windows servers I'm experiencing an infinite loop:
c:\Documents and Settings\WINDOWS_ACCOUNT_HERE\AppData\Local\Application Data\Application Data\Application Data\Application Data\Application Data\Application Data\Application Data\Application Data\Application Data\Application Data\Application Data\Application Data\Microsoft\Windows\History\History.IE5
or
c:\Users\XXXXXX\Application Data\Application Data\Application Data\Application Data\Application Data....
This is my workaround: