PATH environment variable hosed, and all normal files need Administrator access (??!)

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Using Windows Server 2008 as a developer workstation, with all recent updates installed.

If I open a command prompt (cmd.exe) as myself, the global PATH variable is populated. But it doesn't do much good because, as a developer and power user, I cannot do anything I'd normally do, like "defrag" because you must run cmd.exe as Administrator.

If I open a command prompt "as Administrator", the global PATH variable is NOT populated; only my profile PATH that normally gets prepended to the global PATH is populated. I had to create a setpath.bat file and paste my global PATH variable.

But that was a kludge and I'm finding normal, non-console apps not functioning correctly, such as TortoiseSVN, and Windows Server 2008 wants to lock practically every file so it's almost like it's behaving like it's elevating to Administrator but losing the PATH environment variable in the process of doing so. (Just guessing.) I have UAC disabled.

So I have two problems to resolve:

1) how do I get Administrator to behave XP-style, keeping the PATH, and
2) how do I get Windows to stop locking up my normal files as though they need Administration permission for all modify/delete actions??!

Jon

.



Relevant Pages

  • Re: WSUS from R2 Technologies wont re-install
    ... You couldn't get the updated WSUS components to work, ... Windows Server 2003 SP1 Platform SDK, visit the following Microsoft Web ... From a command prompt, ...
    (microsoft.public.windows.server.sbs)
  • Re: Still trying to remove W2K PC from NT4 Domain...
    ... OK...taken your advice and removed my old NT4 box and all seems to be ... created user (Pheasant) with that of Administrator? ... Administrator, ... "Type this command in a Command Prompt and make a ...
    (microsoft.public.win2000.general)
  • Re: How do I
    ... Log into an account with administrative privileges. ... Choose cmd to get a command prompt (do not close Task Manager). ... If that didn't work, you can enable the built-in Administrator, log into ...
    (microsoft.public.windows.vista.general)
  • Re: Internet explorer 6.0
    ... I was also having the same issue, but my administrator acct had not problem ... > Rather than deleting just the index.dat file, delete the Temporary Internet ... A new folder will be created on restart. ... exit the command prompt and restart the computer. ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: Backup and reinstall - no server access
    ... >>>We have a Windows Server 2003 with a lost Administrator password. ... >>>Knoppix), plug in a USB hard disk, copy the files on the Windows ... > As for having two administrator accounts, ...
    (microsoft.public.win2000.setup)