Showing posts with label Vista. Show all posts
Showing posts with label Vista. Show all posts

Tuesday, April 27, 2010

"Registry editing has been disabled by your administrator" Error

Error "Registry editing has been disabled by your administrator" when you open the Registry Editor in Windows Vista

When you attempt to start the Registry Editor (regedit.exe) in your Windows Vista system, you may receive the following message:

Registry editing has been disabled by your administrator



If the above error message is shown in a standalone system, then it may be a result of Malware infection. It is also possible that the DisableRegistryTools policy had been enabled by a third-party tweak program which you may be using. It's highly advisable to follow up with a complete system checkup for Virus and Malware, especially when you're unsure about the cause.

Note: If your system is connected to a domain, your network administrator may have enabled the DisableRegistryTools Policy setting. In that case, you'll need to contact the network administrator to relax this restriction, if need be.

Method 1 - Using Group Policy Editor
If you are using an edition of Windows Vista (Windows Vista Business, Enterprise and Ultimate editions) which includes the Group Policy Editor, follow these steps:

Click Start, type gpedit.msc in the Search box, and press ENTER
Go to the following branch:
User Configuration | Administrative Templates | System

Double-click Prevent access to registry editing tools
Set it as Not Configured

Important: If it's already set to Not Configured, set it to Enabled and click Apply. Then repeat the steps and revert the setting back to Not Configured. This removes the registry based policy if set already.



Method 2
This method should work in all editions of Windows Vista.

Copy the below code & paste in Notepad. Save the file on Desktop & name it reg_enable.vbs.



'Copyright © 2010 Cyber KGB. All rights reserved.
''Description: Resets the "Prevent access to registry editing tools"
' Policy in Windows Vista. If UAC is enabled, this script needs to
' be run from an elevated Command Prompt.
'Compatibility: This script was tested under Windows Vista only.

Option Explicit
Dim WshShell, strUserName, strDomain, strSID
Dim objWMIService, colItems, objItem, arrName, objAccount

Set WshShell = WScript.CreateObject("WScript.Shell")
Set objWMIService = GetObject("winmgmts:\\.\root\cimv2")
Set colItems = objWMIService.ExecQuery("Select * From Win32_ComputerSystem")

For Each objItem in colItems
arrName = Split(objItem.UserName, "\")
strDomain = arrName(0)
strUserName = arrName(1)
Next

Set objAccount = objWMIService.Get _
("Win32_UserAccount.Name='" & strUserName & "',Domain='" & strDomain & "'")
strSID=objAccount.SID

If trim(strSID) <> "" then
WshShell.RegDelete ("HKEY_USERS\" & strSID & "\Software\Microsoft\Windows\CurrentVersion\Policies\System\DisableRegistryTools")
Msgbox "Completed!"
End if


Open an elevated command prompt. To do this, click Start, click
All Programs
, click Accessories, right-click Command Prompt, and then click Run as administrator. If you are prompted for an administrator password or for a confirmation, type the password, or click Allow.
Switch to your Desktop directory by typing the following command, and then pressing ENTER:


cd /d %userprofile%\desktop


Then, type the following command and press ENTER


wscript.exe reg_enable.vbs


Type EXIT to close the Command Prompt window.
If everything worked fine, the DisableRegistryTools policy should have been removed by now. See if you're able to launch Regedit.exe now

Note: If your system is connected to a domain, your network administrator may have enabled the DisableRegistryTools Policy setting. In that case, you'll need to contact the network administrator to relax this restriction, if need be.



~

"This language is no longer available for spell checking" Error

Error "This language is no longer available for spell checking" when using the Spell Checker in Windows Mail

When you use the Spell check feature when composing a new mail message in Windows Mail, the following error message may be displayed:



This happens if the default language is not set in the spell checker options. Follow these steps to resolve the problem:

1. Start Windows Mail

2. From the main screen in Windows Mail, click the Tools menu and choose Options.

Note: In step 2, make sure that you select the Tools menu from the main window, not the New Mail message window.

3. Click the Spelling tab From the Language drop-down, select English even though it's already listed as the default selection, and click Apply.

4. Click OK


~

"Access is denied" - Log off Error

Error "Access is denied" when you try to log off an user account using Task Manager Users tab in Windows Vista

When you use the Task Manager Users tab to log off an user account in Windows Vista, the following error may appear:

User {username} (SessionId=2) could not be logged off. Access is denied.



This happens if Task Manager is not running under administrative privileges. To log off an user account, Task Manager must be run with administrative privileges. Follow one of these methods:

Method 1
Open Task Manager (taskmgr.exe) and click the Processes tab
Click Show processes from all users
When you are prompted for an administrator password or confirmation, type the password or provide confirmation.
Task Manager now runs with administrative privileges.
Switch to the Users tab and log off an user account.

Method 2
Click Start, click All Programs, click Accessories, right-click Command Prompt, and then click Run as administrator.
If you are prompted for an administrator password or for confirmation, type your password, or click Continue.
At the command prompt, type taskmgr.exe, and then press ENTER.
Task Manager starts with administrative privileges.
Switch to the Users tab and log off an user account.


~

Shut Down Quickly via Sleep Button

Shut Down Windows Vista Quickly via Sleep Button

It takes a couple of confusing steps to "Shut down" Windows Vista. You click that Start button, go past the "Power Off" button (since it’s meant for putting your computer in Sleep mode) and then select "Shut Down" from six other options.



Luckily, there’s an easy way to change this default setting and you can use the Power Off button in the Vista start menu to Shut Down and not switch to Sleep mode.

Go to Control Panel –> Power Options –> Change Plan Settings –> Change advanced power settings –> Power Buttons and Lid –> Start menu power button and change the setting from Sleep to Shut Down.


~

Error 0x80070032 when creating a System Restore point in Windows Vista

Error 0x80070032 when creating a System Restore point in Windows Vista

When you try to create a System Restore point in Windows Vista, the following error may occur:



This happens if the Windows Event Log and the Task Scheduler services are disabled. Follow these steps to fix the problem.

1. Click Start, Services.msc. Press {ENTER}

2. Double-click Windows Event Log

3. In the Start type list box, ensure that Automatic is selected

4. Click Start to start the service, if it's not already running

5. Close the Services console

6. Reboot.

It should work fine

If the problem still persists, check the status of the Windows Event Log and Task Scheduler services. If the Task Scheduler service is in a disabled state, then paste code below in a notepad & save the file as schedule.reg.



Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Schedule]
"AtTaskMaxHours"=dword:00000048
"DisplayName"="@%SystemRoot%\\system32\\schedsvc.dll,-100"
"Group"="SchedulerGroup"
"ImagePath"=hex(2):25,00,73,00,79,00,73,00,74,00,65,00,6d,00,72,00,6f,00,6f,00,\
74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,73,\
00,76,00,63,00,68,00,6f,00,73,00,74,00,2e,00,65,00,78,00,65,00,20,00,2d,00,\
6b,00,20,00,6e,00,65,00,74,00,73,00,76,00,63,00,73,00,00,00
"Description"="@%SystemRoot%\\system32\\schedsvc.dll,-101"
"ObjectName"="LocalSystem"
"ErrorControl"=dword:00000001
"Start"=dword:00000002
"Type"=dword:00000020
"DependOnService"=hex(7):52,00,50,00,43,00,53,00,53,00,00,00,45,00,76,00,65,00,\
6e,00,74,00,4c,00,6f,00,67,00,00,00,00,00
"ServiceSidType"=dword:00000001
"RequiredPrivileges"=hex(7):53,00,65,00,49,00,6e,00,63,00,72,00,65,00,61,00,73,\
00,65,00,51,00,75,00,6f,00,74,00,61,00,50,00,72,00,69,00,76,00,69,00,6c,00,\
65,00,67,00,65,00,00,00,53,00,65,00,43,00,68,00,61,00,6e,00,67,00,65,00,4e,\
00,6f,00,74,00,69,00,66,00,79,00,50,00,72,00,69,00,76,00,69,00,6c,00,65,00,\
67,00,65,00,00,00,53,00,65,00,41,00,75,00,64,00,69,00,74,00,50,00,72,00,69,\
00,76,00,69,00,6c,00,65,00,67,00,65,00,00,00,53,00,65,00,49,00,6d,00,70,00,\
65,00,72,00,73,00,6f,00,6e,00,61,00,74,00,65,00,50,00,72,00,69,00,76,00,69,\
00,6c,00,65,00,67,00,65,00,00,00,53,00,65,00,41,00,73,00,73,00,69,00,67,00,\
6e,00,50,00,72,00,69,00,6d,00,61,00,72,00,79,00,54,00,6f,00,6b,00,65,00,6e,\
00,50,00,72,00,69,00,76,00,69,00,6c,00,65,00,67,00,65,00,00,00,53,00,65,00,\
54,00,63,00,62,00,50,00,72,00,69,00,76,00,69,00,6c,00,65,00,67,00,65,00,00,\
00,53,00,65,00,52,00,65,00,73,00,74,00,6f,00,72,00,65,00,50,00,72,00,69,00,\
76,00,69,00,6c,00,65,00,67,00,65,00,00,00,00,00
"FailureActions"=hex:80,51,01,00,00,00,00,00,00,00,00,00,03,00,00,00,14,00,00,\
00,01,00,00,00,60,ea,00,00,01,00,00,00,60,ea,00,00,00,00,00,00,00,00,00,00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Schedule\Parameters]
"ServiceDll"=hex(2):25,00,73,00,79,00,73,00,74,00,65,00,6d,00,72,00,6f,00,6f,\
00,74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,\
73,00,63,00,68,00,65,00,64,00,73,00,76,00,63,00,2e,00,64,00,6c,00,6c,00,00,\
00
"ServiceDllUnloadOnStop"=dword:00000001
"ServiceMain"="ServiceMain"

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Schedule\Enum]
"0"="Root\\LEGACY_SCHEDULE\\0000"
"Count"=dword:00000001
"NextInstance"=dword:00000001

;CyberKGB


Save the file to the Desktop, and double-click the file to merge the contents with the registry. Click Yes when asked for confirmation.

Restart Windows.

Hack Vista Restore Point to Log On to a System

Hack / Use a Vista Restore Point to Log On to a System

If you've recently set a new password and forgotten it, this is a quick way around the problem.
The only thing is that you must have had System Restore enabled and that you need to remember your previous password.
If this applies, then Insert your Vista installation DVD into your drive and reboot. Start the installation process and designate the system language, the time, and your keyboard format.

At this point the option Repair your PC will pop up, so select that and click Next.
Now select the System Restore option and again click Next. Select the restore point you'd like to use, confirm your selection, and click Finish, then Yes when it's time to restart.
Once the system restarts, close the System Restore process and log on using your older Password.

You may have lost a little bit of data, but the Hack works pretty well.

Note: You can even get the lost data, if your backup process runs often enough you should be able to restore that from your NAS or server.


~

Install an Ancient Printer in Vista

Install an Ancient Printer in Vista

Click Start and enter gpedit.msc to launch the Group Policy Object Editor.
Under Computer Configuration, double-click Administrative Templates and select Printers. In the right-hand pane, find the policy named Disallow installation of printers using kernel-mode drivers and double-click it. Set its status to Disabled.
By disabling the disallow policy, you enable the use of kernel-mode drivers—twisted! Click OK, close Group Policy Editor, and Reboot.

Note: The downside of this setting is that a badly written kernel-mode driver can crash your system; that's what the policy was meant to prevent.


~

Vista Health Report

Vista Health Report

People get physical checkups, and so do computers.
Vista can run a complete and well-organized diagnostic report highlighting potential problems.
In the Control Panel, click System and Maintenance | Performance Information and Tools. In the Tasks list along the left, click Advanced tools. The last item on the resulting list is Generate a system health report.


~

Recover Vista's screenshot-snipping tool

Recover Vista's screenshot-snipping tool

The Vista's screenshot-snipping tool Premium, in Accessories very useful.
After the latest update from Microsoft, It might get disappeared.

Vista's screenshot-snipping tool may simply be turned off, or it may be turned on and Windows is ignoring it. Launch Programs and Features from Vista's Control Panel. Click the link Turn Windows features on or off at left. Find the Tablet PC Optional Components box. If it's not checked, check it and click OK. If it is checked, click to uncheck it, click OK, then click to check it again and click OK.
& Reboot.


~