After resetting a local profile on Windows Vista or 7 the user is always logged on with a temporary profile

Recently I have to reset a Windows 7 users local profile, so as I had done with previous version of Windows I deleted the users local profile folder.

I then found that whenever the user logged on they were logged on with a temporary profile, it was as if  Windows did not even try to create a new profile for the user.

I found messages similar to the below in the even log;

Make sure that this computer is on the network, has remote administrator enabled.

Problem:

When you try to remotely administer a Windows Server Core box using Device Manager you receive the below error;

Server Manager cannot connect to XXXXX. Click Retry to try to connect again.

Problem:

When you try to manage a 2008 or 2008 R2 server remotely using a Server Manager MMC snap-in, you receive the below message.

msg_1.png

VBS Script to perform an action after a computer either starts or stops pinging Files attached

The below script can be used to monitor when a computer either starts or stops pinging and then run an action.

 

Usage:

Call the function WaitForPing(SuccessOrFailure, "Name or IP", TIMEOUT_PING_SUCCESS)

Set SuccessOrFailure to TRUE to wait for the computer to start pinging

Set SuccessOrFailure to FALSE to wait for the computer to stop pinging

Changing the baground on a Windows Home Basic Computer

By design Windows 7 Home Basic does not allow the user to change the wallpaper if you right click on the desktop the "Personalize" option is missing.

However the option is simple hidden and not removed, the workaround is to open the start menu and type "Change desktop background" in the search box and press enter.

Source: http://support.microsoft.com/kb/2005592/en-gb

Using a VBS Script to Create a Shortcut and a Shorcut to a URL Files attached

The below will show you how to use a VBS script to create a standard Windows shortcut and also a URL shortcut to a webpage.

Creating a Standard Windows Shorcut

In the below example script I am simply creating a shortcut to Notepad using the properties .TargetPath and . Description however there are a few other propertiesyou can make use of.

Changing Permissions on a Registry Key Using Group Policy

The below steps will slow you how to set the permissions on a given registry key using Group Policy, this is vey useful is you want to run a script with user privileges that needs to modify a certain registry key.

Windows Active Desktop Recovery Will Not Recover

We set our users Wallpapers via group policy using Active Desktop, occasionally we find we get the Active Desktop recovery screen but no matter how many times we press the "Recover" button or restart the machine the normal Wallpaper will not come back.

The only way we have found so far to get the Wallpaper back is to;

VBS Script to Retrieve the Screen Resolution Files attached

The below script will display the screen resolution of the computer.

I use this script as part of a logon script to deploy wallpapers 

Design by
ThemeShark.com - Drupal Themes with Bite!
Drupal Themes
with bite!