Monday, December 31, 2007

Dealing with a corrupt local XP profile

If you find that a local profile is corrupt when trying to open it and it opens a temp profile, try this.

Log in as an administrator (not the user with the problem). Go to My Computer Properties -> Advanced -> User Profile Settings and copy the profile to some folder somewhere on the computer. Then delete the corrupt profile from c:\docs and settings (including the temp profile) and then re-log on as the user with the corrupt profile. Restart the computer. Log in as an administrator and copy the copied profile to the newly created profile in c:\docs and settings.

Thursday, December 27, 2007

Adobe programs trials install fails with error 1327

I found a strange error when users were installing trials of Adobe Photoshop (or Acrobat) in Vista. They were getting "Error 1327 : Invalid drive H:"

As per the information here:
http://www.adobeforums.com/webx/.3bc28a5e?14

1. Right click on Command Prompt in the Start Menu and selected Run As Administrator.
2. Typed "Net Use h: \\servername\sharename"
3. Exit out of the command prompt


It's something ridiculous about the user's home folder on the server not having full administrative permissions which I guess it needs as a temporary folder.

Friday, December 21, 2007

Shutting down a computer remotely

shutdown \\computername /l /a /r /t:xx "msg" /y /c

\\computername: Use this switch to specify the remote computer to shut down. If you omit this parameter, the local computer name is used.

/l (Note that this is a lowercase "L" character): Use this switch to shut down the local computer

/a: Use this switch to quit a shutdown operation. You can do this only during the time-out period. If you use this switch, all other parameters are ignored.

/r: Use this switch to restart the computer instead of fully shutting it down.

/t:xx: Use this switch to specify the time (in seconds) after which the computer is shut down. The default is 20 seconds.

"msg": Use this switch to specify a message during the shutdown process. The maximum number of characters that the message can contain is 127.

/y: Use this switch to force a "yes" answer to all queries from the computer.

/c: Use this switch quit all running programs. If you use this switch, Windows forces all programs that are running to quit. The option to save any data that may have changed is ignored. This can result in data loss in any programs for which data is not previously saved.

For example:

Shutdown /r /m \\server2