Link to home
Start Free TrialLog in
Avatar of asiena
asienaFlag for Italy

asked on

Active Desktop Script Error (safemode.htt)

The active desktop is showing an error - title being Active Desktop Recovery.   There is a button labled 'Restore my Active Desktop'.    We are on XP/W2K3 domain.
 
An error has occured on the script on thsi page >> line 65 Char 1  Object doesnt supprot this acttion  Code 0.   URL (file:///C:/WINDOWS/web/safemode.htt). [see attached JPG]

Group Policy are set in SBS (it is not possible to modify the wallpapaer, active desktop is forced active). I've tried to turn on "not configured" these two options in GP Settings in WK3 and on the client affected the error was not shown. But, when I reactivate that options the error returns. I've tried to cancel also the file c:\windows\web\safemode.htt but the problem is still present. The profile of the user that joins to the domain in the affected client is "Domain Power User". But it is correct to tell that the problem affects the user profile only, because I've tried to join on the client with another user and all is ok.


How to resolve?????
error.jpg
Avatar of doc_fields
doc_fields
Flag of United States of America image

Try reloading the Video drivers for the machine itself, That may resolve the issue.
Avatar of asiena

ASKER

done but it is the same....
ASKER CERTIFIED SOLUTION
Avatar of hyperlite
hyperlite

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of hyperlite
hyperlite

Below is the fix for this.  I used the DeskHtmlVersion method to change the registry value and refresh the desktop.  I have used this on about 10 PCs so far and it is working.  Just copy the script below to notepad and rename to fix_desktop.vbs.
Option Explicit
' Create the Shell object
Dim objShell
Set objShell = CreateObject("WScript.Shell")
 
'Change values that mess up IE 7 from decimal 272 to 0
objShell.RegWrite "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Desktop\SafeMode\Components\DeskHtmlVersion", "0", "REG_DWORD"
objShell.AppActivate "Program Manager"
objShell.SendKeys "{F5}"
WScript.Quit

Open in new window

# Start Windows Explorer.
# On the View menu, click Folder Options.
# In the Folder Options dialog box, on the View tab, under Advanced settings, click Show all files.
# Click to clear the Hide file extensions for known file types check box, click Apply, and then click OK.
# Quit Windows Explorer.
# On the taskbar, click Start, point to Find, and then click Files or Folders.
# In the Find: All Files dialog box, type Desktop.htt in the Named box.
# In the Look in list, click My Computer, and then click Find Now.
# In the Name list, right-click Desktop.htt, and then click Rename on the shortcut menu that appears.
# Rename Desktop.htt to Desktop.old, and then press ENTER.

You receive the following message:
Are you sure you want to rename the system file 'Desktop.htt' to
'Desktop.old'?
# Click Yes, and then close the Find dialog box.
# On the taskbar, click Start, point to Settings, and then click Control Panel.
# In Control Panel, double-click Display.
# In the Display Properties dialog box, on the Background tab, under Wallpaper, click any background picture other than that which is currently selected. For example, if the current background selection is None, click Bubbles.
# Click Apply, and then click OK.
# Restart your computer.
# On the taskbar, click Start, point to Settings, point to Active Desktop, and then click View as Web Page.
# Follow steps  to change your background picture to the one that you want.
Hyperlite's script also worked to restore an Active Desktop damaged by virus/spy activity.

Great work!

Don't copy the numbers...just the text.  =)

I too worked with Hyperlite's script and i was amazed. I had carried out the script steps manually but i had no change, after running the script it worked. Any way problem solved............

Still i have a doubt regards to Script.

How the script works? It would be better if i could find a reply..........


Regards

Barani G
The Microsoft fix to just change the registry did not fix the issue.  The additional call to program manager also cleared the Active Desktop Error as well.  KUDOS.