November 08, 2007

Vista: googling account management stuff

Just some stuff I've encountered while I look for how to make the damned admin acount a real and full administrator:

Preventing passwords from expiring:

Open an elevated command prompt (right-click, run as administrator)
Type: net accounts /maxpwage:unlimited

As it currently stands, the new account I set up doesn't obviously differ from the one I was already using. So I'm going to try an experiment, using Encarta.

I'll do an installation of it. But I'll make a shortcut to the "move everything to HD" program, and tell it to run as administrator. I think that may make it possible for it to complete whatever magic it was trying to do to the registry and suchlike.

UPDATE: Well, that's interesting. I can't set "run as administrator" on that shortcut. I can do so on my shortcut to notepad, but not on my shortcut to the "copy Encarta to HD". How peculiar. I guess I'm going to have to figure out what program it's trying to call.

It won't let me do "open file location" either, so I can't figure out what program it's trying to run.

If one program runs with administrator privilege, and spawns another, does the second inherit it? I think it does, and maybe that's the answer here. Maybe I can make the encyclopedia program itself run as administrator, and invoke the copy from there.

Except that I can't do that, either.

UPDATE: Open the task manager, look at the "processes" page, and try running the copy program. Turns out it's called "encchd.exe". Now to locate the sucker on the disk and see if I can shortcut it directly.

UPDATE: When you nuke the indexing service, then you get told about it every time you use the search box. grumble grumble...

UPDATE: Full path: c:\Program Files\Common Files\microsoft shared\Referende 2001\EncCHD.exe

And yes, when I make a direct shortcut to that I can turn on administrator status. Now to see if it works.

UPDATE: Ta daa!

I'm sure I know what's wrong. The shortcut is passing in parameters, especially including some sort of script file, and the shortcut I created doesn't do that. And since I can't look inside the shortcut to see what it contains, I can't tell what they did.

I wonder if I can open their shortcut using notepad? Dig through all the binary and see what the invocation string was?

UPDATE: Doug just pointed out that it's possible to completely deactivate all the security stuff with a single menu choice. That idea gives me the heeby jeebies, but what the hell? This is an experiment. So I've done that and now I'll try the Encarta install. Then I'll turn everything back on again afterwards.

But I'm damned if I'll do anything else while the system is in that state, so I'm back on my old laptop making this update while I wait.

Posted by: Steven Den Beste in Computers at 12:59 PM | No Comments | Add Comment
Post contains 481 words, total size 3 kb.

Enclose all spoilers in spoiler tags:
      [spoiler]your spoiler here[/spoiler]
Spoilers which are not properly tagged will be ruthlessly deleted on sight.
Also, I hate unsolicited suggestions and advice. (Even when you think you're being funny.)

At Chizumatic, we take pride in being incomplete, incorrect, inconsistent, and unfair. We do all of them deliberately.

How to put links in your comment

Comments are disabled. Post is locked.
7kb generated in CPU 0.0132, elapsed 0.0195 seconds.
18 queries taking 0.0116 seconds, 16 records returned.
Powered by Minx 1.1.6c-pink.