admin - Cant access remote share in explorer if software is elevated uac (c++) -


i have problem access network share drives mapped in explorer software if runs administrator rights. if disable uac runs well, can enumerate network drives mapped in explorer.

my question is: how can accesss network drives or enumerate them when uac on?

i tried change: localaccounttokenfilterpolicy in registry, doesnt work.

any solutions?

with kind regards
xen

the problem not uac per se, nor running administrator rights. problem you're running under different user account. "run administrator" that.

each user account has own network shares. when you're running different user, therefore enumerate different shares. try running explorer.exe different user; you'll see explorer.exe find same shares do.

this not worked around, design. it's harder malware spread when each user account can access drives , shares needs.

the correct solution not run uac/administrator rights. if really, need to, it's 1 single administrative task. task should moved separate process, , process should elevated. see instance clock app. used able show , change time. in modern windows versions, changing time done separate elevated process.


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -