PDA

View Full Version : blocked by group policies


kingincar
07-30-2008, 12:07 AM
Im trying to run auslogic disk defrag and i get a message that says the program is blocked by group policies... ive never had this problem before... im using a laptop and i am the only user (administrator), why is this being blocked and how can i fix this...... im running vista home premium sp1

slonkak
07-30-2008, 12:33 AM
Try running `gpresult` to see if any odd policies are being applied. Here is a link to Microsoft's site with the help for `gpresult`. (http://technet2.microsoft.com/windowsserver/en/library/b846f817-e308-442c-bcde-daa4a99c1ecf1033.mspx?mfr=true)

If you don't see anything odd, try running `gpupdate /force` then reboot.

This is weird that you're getting a Group Policy error on a Home version of Vista because the Home versions don't give you `gpedit.msc`, the console allowing you to modify Group Policy settings.

kingincar
07-30-2008, 01:18 AM
i tried what you said and nothing still the same

this is what i get when i type in gpresult, i see no difference

gpax
07-30-2008, 01:23 AM
Wow, same question, different forum....

http://revision3.com/forum/showthread.php?t=21120 for another possible fix....

slonkak
07-30-2008, 02:09 AM
i tried what you said and nothing still the same

this is what i get when i type in gpresult, i see no difference

Ok, so that just displayed the help of `gpresult`. Judging from the examples given at the bottom, running `gpresult -R` should do what I wanted, give you the RSoP (Resulting Set of Policies). Basically, it should be a list of all Group Policies that are active on your computer. If you don't mind, run that and give me the output.

kingincar
07-30-2008, 04:05 AM
thank you so much for your help, i was/am so completely stuck, here is the output.

slonkak
07-30-2008, 12:26 PM
Ok, I'm sorry for asking so much, but that only showed me half of what I wanted. When I run it (on XP) I get a USER section and a COMPUTER section. So, can you run these two commands to give me super verbose output.

gpresult /SCOPE COMPUTER /Z
gpresult /SCOPE USER /Z


Also, I will write you a vbscript that will remove the registry entries described on your other thread. This way, all you have to do is double click and it will do everything for you. No need to worry about messing up your registry.

P.S. When you post a question, could you please not post it multiple times? Now we have two possible answers in different threads.

slonkak
07-30-2008, 12:52 PM
Ok, here is the vbscript (attached) that will remove the AusLogics key from HKLM\Software\Policies and HKCU\Software\Policies. Just unzip it and double click the vbs file.

Please don't do this until you post back with the results of the 2 gpresult commands. I'd like to see if we can resolve this without having to edit the registry first...

So you know that I'm not screwing with you, here is the code (you can also open the vbs file in notepad to see the same thing).

Const HKCU = &H80000001
Const HKLM = &H80000002

strComputer = "."

Set objReg = GetObject("winmgmts:\\" & strComputer & "\root\default:StdRegProv")

strKeyPath = "Software\Policies\AusLogics"

DeleteSubkeys HKCU, strKeyPath
DeleteSubkeys HKLM, strKeyPath

Wscript.echo "Finished"



Sub DeleteSubkeys(location, rootKey)
objReg.EnumKey location, rootKey, arrSubkeys

If IsArray(arrSubkeys) Then
For Each strSubkey In arrSubkeys
DeleteSubkeys location, rootKey & "\" & strSubkey
Next
End If

objReg.DeleteKey location, rootKey
End Sub

gpax
07-30-2008, 01:06 PM
Perfect Kevin - thanks for that. Have experience with coding but had a very similar problem with a client and removing the keys under Policies fixed it. You obviously have a touch more (a big touch from the look) MS skill than I..... Great to have a fix that you cannot stuff up.....

King, post up the code as per slonkak's post above (http://revision3.com/forum/showpost.php?p=408180&postcount=7) and he can confirm that running the fix will work.

:D

kingincar
07-30-2008, 08:01 PM
thanks alot slonkak for all the help, this has never happend bfore so i was kind of confused why this would happen all of a sudden, and about the double post, well i posted it here first and i didnt know there was a windows forum so i thought i might as well but ill stop doing that. :)

Here are the pic

tehboris
07-30-2008, 08:34 PM
Did you try running it as an administrator?

slonkak
07-30-2008, 09:50 PM
thanks alot slonkak for all the help, this has never happend bfore so i was kind of confused why this would happen all of a sudden, and about the double post, well i posted it here first and i didnt know there was a windows forum so i thought i might as well but ill stop doing that. :)

Here are the pic

Ok, so there is only one policy applied, the Local Computer Policy. Unfortunately I just (like 20 minutes ago) put a new hard drive in my machine, so I don't have access to Vista at the moment, so I can't walk you through looking at the policy.

If you run `gpmc.msc` that should open the Group Policy Management Console. If it doesn't exist, then your version of Vista doesn't let you modify any policies, so go ahead and run the VBScript I attached earlier.

If it opens, there's a nice view in the right pane that will show you all active settings in the policy you're looking at. So you can look through that list to see if anything is set regarding the AusLogics stuff. If you do see something set, unset it, reboot, and you should be good to go. If you don't see anything, run the script I attached earlier.

You probably could just run the script and have your stuff work again, but that's only a one time fix. I want you to look at the Group Policy in case something like this happens in the future. Then you'll know exactly where to look to fix it and won't need to go looking through the registry.

Also, there's no need to thank me for the script. GPaX did the hard work, I just put it in script form... :)

kingincar
07-31-2008, 07:26 PM
yea i did it and all is fine!!! everything works perfect..... thanks i appreciate all the help....:D

i was going to have my friend take a look at it 2day but no need to now