Jump to content

Recommended Posts

Posted

I'm writing a custon gpo (first timer) and i need a little help.

 

The gpo is to disable the caching of internet history. to do this you change the shell folder and user shell folder within

 

hkey_Current_User/software/microsoft/windows/currentversion/explorer

 

Change the history, cache and cookies strings in both keys to a non existant drives.

 

the following is my GPO coding:

 

 

CLASS USER

 

CATEGORY !!ShellFolders

 

POLICY !!ShellHistory

EXPLAIN !!ShellHistory_Help

KEYNAME "hkey_current_user\Software\Microsoft\Windows\CurrentVersion\explorer\ Usershell folders"

VALUENAME "History"

VALUEON "f:\"

VALUEOFF "%userprofile%\history"

 

ACTIONLISTON

KEYNAME "hkey_current_user\Software\Microsoft\Windows\CurrentVersion\explorer\User shell folders"

VALUENAME "History"

VALUE "f:\"

END ACTIONLISTON

 

 

ACTIONLISTOFF

KEYNAME "hkey_current_user\Software\Microsoft\Windows\CurrentVersion\explorer\user shell folders"

VALUENAME "History"

VALUE "%userprofile%\history"

END ACTIONLISTOFF

END POLICY

 

 

END CATEGORY

 

 

[strings]

 

ShellFolders="Shell folders"

 

ShellHistory="Disable History Cache"

ShellHistory_Help=" "

 

It shows the catagory shell folders but no settings within - what am i doing wrong?

 

cheers

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...