New
#1
Admin mapped drives acting weird
Howdy. I've been finding that the new UAC and linux style permission system is pretty annoying (I'm coming to Win7 from XP). Yea, I know it's proper security but I haven't had any issues with XP all these years since I know what I'm doing so I really wish my OS would trust me, lol.
Anyway.. I made life pretty comfortable by installing HotKeyBind and having it run as the administrator so whenever I hit Win-D I get an Administrator level DOS window. Usually when I get hamstrung by the limited rights it's when I'm in DOS trying to do something so this got rid of most of my hassles. HKB launches at startup from a batch file in the startup folder which does a "runas" on HKB to launch it as admin.
Now the problem comes from the fact that the DOS process is not running as me, so my mapped drives are not accessible. Even file associations were wrong when launched from that window. So I edited the launch batch to launch a second bat rather than HKB directly. In that batch file I map my drives. Seems to work golden. Alas, it seems at random intervals the system suddenly forgets the domain user I've associated with the drive mappings. (All the drives are remote PCs that require my domain credentials). I made another .bat called "admindrives" that will unmap them all then remap and then they work.
Just now though, I couldn't access my webserver's D$ share, kept getting "Access Denied" in my admin DOS. Admindrives.bat didn't help. Manually remapped the drive.. net use w: \\webserver\d$ /user:domain\username pwd. It mapped with no error, but still couldn't access the drive. Opened a regular non-admin window, went to the W: drive just fine.
It's frustrating as hell. I wish I could just make my domain account act like the super-admin, or make the super-admin have a domain user token.
Anyone know of a way to handle mapped drives like this?
Has anyone found a way yet to make a domain account have the full no-limits admin privledges?