[gptalk] Re: "browse in same window" option in Windows Explorer

  • From: "Piet Slaghekke" <pslaghekke@xxxxxxxxxxxxxx>
  • To: <gptalk@xxxxxxxxxxxxx>
  • Date: Fri, 21 Sep 2007 23:38:52 -0400


Yeah it  says that it does not recognize VALUEON OR VALUEOFF    

I am glad it works!  Thanks for all your help Darren!!  (-:
-----Original Message-----
From: gptalk-bounce@xxxxxxxxxxxxx n behalf of Darren Mar-Elia
Sent: Thu 9/20/2007 2:46 PM
To: gptalk@xxxxxxxxxxxxx
Subject: [gptalk] Re: "browse in same window" option in Windows Explorer
 
Strange. It should work--I may be missing some syntax in there. Glad you got
it to work in any case. That's what counts :)

Darren

-----Original Message-----
From: gptalk-bounce@xxxxxxxxxxxxx [mailto:gptalk-bounce@xxxxxxxxxxxxx] On
Behalf Of Piet Slaghekke
Sent: Thursday, September 20, 2007 11:40 AM
To: gptalk@xxxxxxxxxxxxx
Subject: [gptalk] Re: "browse in same window" option in Windows Explorer

Darren, 

When I add your settings like this I get an error stating that Valuename
is not recognized, see example 1 below.  When I add MAX "100000" (remove
the lines you suggested) to the EditFlags policy I am able to enter
65536  and the policy pushed out through AD and worked!! 

EXAMPLE 1 

 CLASS MACHINE

CATEGORY "SOFTWARE\Classes\Word.Document.8"
KEYNAME "SOFTWARE\Classes\Word.Document.8"

 POLICY Default
  PART Default
  EDITTEXT
  DEFAULT "Microsoft Word Document"
  VALUENAME ""
  END PART
 END POLICY

 POLICY "EditFlags"
  PART "EditFlags"
  NUMERIC
  VALUENAME "EditFlags"
  VALUEON NUMERIC 65536
  VALUOFF NUMERIC 0

  END PART
 END POLICY

 POLICY "BrowserFlags"
  PART "BrowserFlags"
  NUMERIC
  VALUENAME "BrowserFlags"
  VALUEON NUMERIC 8
  VALUOFF NUMERIC 0


  END PART
 END POLICY

END CATEGORY

-----Original Message-----
From: gptalk-bounce@xxxxxxxxxxxxx [mailto:gptalk-bounce@xxxxxxxxxxxxx]
On Behalf Of Darren Mar-Elia
Sent: Thursday, September 20, 2007 1:28 PM
To: gptalk@xxxxxxxxxxxxx
Subject: [gptalk] Re: "browse in same window" option in Windows Explorer

Hmm. The pieces I gave below should not give you the ability to set a
value at all. It sounds like you're using a spin control, which you
don't want to do. The Valueon and valueoff things go in the ADM and the
policy is either enabled, not configured or disabled.

Darren

-----Original Message-----
From: gptalk-bounce@xxxxxxxxxxxxx [mailto:gptalk-bounce@xxxxxxxxxxxxx]
On Behalf Of Piet Slaghekke
Sent: Thursday, September 20, 2007 10:20 AM
To: gptalk@xxxxxxxxxxxxx
Subject: [gptalk] Re: "browse in same window" option in Windows Explorer

When I am in the Group policy editor and want to set the value  in ADM
template I created, it only lets me enter a numeric values between 0 and
9999.

-----Original Message-----
From: gptalk-bounce@xxxxxxxxxxxxx [mailto:gptalk-bounce@xxxxxxxxxxxxx]
On Behalf Of Darren Mar-Elia
Sent: Thursday, September 20, 2007 12:51 PM
To: gptalk@xxxxxxxxxxxxx
Subject: [gptalk] Re: "browse in same window" option in Windows Explorer

What will only let you go up to 9999? I'm not sure I'm following what
you're doing? 

-----Original Message-----
From: gptalk-bounce@xxxxxxxxxxxxx [mailto:gptalk-bounce@xxxxxxxxxxxxx]
On Behalf Of Piet Slaghekke
Sent: Thursday, September 20, 2007 9:49 AM
To: gptalk@xxxxxxxxxxxxx
Subject: [gptalk] Re: "browse in same window" option in Windows Explorer

I did what you said,  

With the browser flags it works, but with the EditFlags  it will only
let me go up to 9999 so 65536 will not work. 

-----Original Message-----
From: gptalk-bounce@xxxxxxxxxxxxx [mailto:gptalk-bounce@xxxxxxxxxxxxx]
On Behalf Of Darren Mar-Elia
Sent: Thursday, September 20, 2007 12:31 PM
To: gptalk@xxxxxxxxxxxxx
Subject: [gptalk] Re: "browse in same window" option in Windows Explorer

REG_BINARY is not supported in the ADM syntax so all numeric values are
implied as REG_DWORD.

What you need to do is convert those hex values to decimal and then put
them in the ADM. For example, for the browser flags, it would look like
this:

VALUEON NUMERIC 8
VALUOFF NUMERIC 0

And for EditFlags:

VALUEON NUMERIC 65536
VALUOFF NUMERIC 0

Darren

-----Original Message-----
From: gptalk-bounce@xxxxxxxxxxxxx [mailto:gptalk-bounce@xxxxxxxxxxxxx]
On Behalf Of Piet Slaghekke
Sent: Thursday, September 20, 2007 9:09 AM
To: gptalk@xxxxxxxxxxxxx
Subject: [gptalk] Re: "browse in same window" option in Windows Explorer

It also does not tell it if it is a REG_DWORD  or a REG_BINARY  should
this not be specified in the template?

I do get to option to specify the value when I enable a setting
(EditFlags & BrowserFlags). So I am not sure what you mean by 0 or 1
when enabeling or disabeling, this should not effect the REG_DWORD
value, should it?   

-----Original Message-----
From: gptalk-bounce@xxxxxxxxxxxxx [mailto:gptalk-bounce@xxxxxxxxxxxxx]
On Behalf Of Darren Mar-Elia
Sent: Thursday, September 20, 2007 12:01 PM
To: gptalk@xxxxxxxxxxxxx
Subject: [gptalk] Re: "browse in same window" option in Windows Explorer

You're probably going to have to edit that ADM a bit. Normally, in the
absence of any direction in the ADM, enabled will set the value to 1 and
disabled to 0, which you probably don't necessarily want.

Darren

-----Original Message-----
From: gptalk-bounce@xxxxxxxxxxxxx [mailto:gptalk-bounce@xxxxxxxxxxxxx]
On Behalf Of Piet Slaghekke
Sent: Thursday, September 20, 2007 8:51 AM
To: gptalk@xxxxxxxxxxxxx
Subject: [gptalk] Re: "browse in same window" option in Windows Explorer

Of course they would be!  (-:  Yes it is showing up there,  I was
looking under local user!!  

So the settings are there but not configured.  Should they have values
or is this something I have to add myself... I see from the adm file
that there are no values.. Of course that is why it is called a
template.   Thanks Darren! 

-----Original Message-----
From: gptalk-bounce@xxxxxxxxxxxxx [mailto:gptalk-bounce@xxxxxxxxxxxxx]
On Behalf Of Darren Mar-Elia
Sent: Thursday, September 20, 2007 11:39 AM
To: gptalk@xxxxxxxxxxxxx
Subject: [gptalk] Re: "browse in same window" option in Windows Explorer

Well, it looks like it will be under Computer Configuration\Admin
templates\"Software\Classes\Word.Document.8"

It could be having problems parsing the Category with the backslashes.
What I would do, if you don't find the policy in the location above, is
rename the Category tag below to something without backslashes, like
"Word File Associations"

Darren

-----Original Message-----
From: gptalk-bounce@xxxxxxxxxxxxx [mailto:gptalk-bounce@xxxxxxxxxxxxx]
On Behalf Of Piet Slaghekke
Sent: Thursday, September 20, 2007 8:32 AM
To: gptalk@xxxxxxxxxxxxx
Subject: [gptalk] Re: "browse in same window" option in Windows Explorer

 CLASS MACHINE

CATEGORY "SOFTWARE\Classes\Word.Document.8"
KEYNAME "SOFTWARE\Classes\Word.Document.8"

 POLICY Default
  PART Default
  EDITTEXT
  DEFAULT "Microsoft Word Document"
  VALUENAME ""
  END PART
 END POLICY

 POLICY "EditFlags"
  PART "EditFlags"
  NUMERIC
  VALUENAME "EditFlags"
  END PART
 END POLICY

 POLICY "BrowserFlags"
  PART "BrowserFlags"
  NUMERIC
  VALUENAME "BrowserFlags"
  END PART
 END POLICY

END CATEGORY

-----Original Message-----
From: gptalk-bounce@xxxxxxxxxxxxx [mailto:gptalk-bounce@xxxxxxxxxxxxx]
On Behalf Of Darren Mar-Elia
Sent: Thursday, September 20, 2007 11:30 AM
To: gptalk@xxxxxxxxxxxxx
Subject: [gptalk] Re: "browse in same window" option in Windows Explorer

Well, it depends upon how the ADM was written. Maybe you can post it
here and we can get a better sense of where to look.

Darren

-----Original Message-----
From: gptalk-bounce@xxxxxxxxxxxxx [mailto:gptalk-bounce@xxxxxxxxxxxxx]
On Behalf Of Piet Slaghekke
Sent: Thursday, September 20, 2007 8:28 AM
To: gptalk@xxxxxxxxxxxxx
Subject: [gptalk] Re: "browse in same window" option in Windows Explorer

Darren, 

I have added the template,  but I do not see it show up.  Even after
unchecked "show only managed policies"  filter.  Where do I look?

-----Original Message-----
From: gptalk-bounce@xxxxxxxxxxxxx [mailto:gptalk-bounce@xxxxxxxxxxxxx]
On Behalf Of Darren Mar-Elia
Sent: Thursday, September 20, 2007 10:53 AM
To: gptalk@xxxxxxxxxxxxx
Subject: [gptalk] Re: "browse in same window" option in Windows Explorer

Yes, when you're in the GP editor, right-click any of the two
Administrative Templates nodes, choose Add/Remove Templates and add your
new template.
You'll get errors right then and there if there are syntax problems with
it.
If not, you will not see the policies show up right away because they
are preferences. So, go into View, Filtering and uncheck the box that
says "show only managed policies".

Darren

-----Original Message-----
From: gptalk-bounce@xxxxxxxxxxxxx [mailto:gptalk-bounce@xxxxxxxxxxxxx]
On Behalf Of Piet Slaghekke
Sent: Thursday, September 20, 2007 7:44 AM
To: gptalk@xxxxxxxxxxxxx
Subject: [gptalk] Re: "browse in same window" option in Windows Explorer

Ok I exported the key, edited the key so that only those values are in
it.  Converted with regtoadm. 

Can I just import this template to a GPO? 

-----Original Message-----
From: gptalk-bounce@xxxxxxxxxxxxx [mailto:gptalk-bounce@xxxxxxxxxxxxx]
On Behalf Of Darren Mar-Elia
Sent: Thursday, September 20, 2007 10:23 AM
To: gptalk@xxxxxxxxxxxxx
Subject: [gptalk] Re: "browse in same window" option in Windows Explorer

Ok. Cool. Then Steve's suggestion I a good one--give regtoadm a try.

Darren

-----Original Message-----
From: gptalk-bounce@xxxxxxxxxxxxx [mailto:gptalk-bounce@xxxxxxxxxxxxx]
On Behalf Of Piet Slaghekke
Sent: Thursday, September 20, 2007 7:17 AM
To: gptalk@xxxxxxxxxxxxx
Subject: [gptalk] Re: "browse in same window" option in Windows Explorer

REG_DWORD 

-----Original Message-----
From: gptalk-bounce@xxxxxxxxxxxxx [mailto:gptalk-bounce@xxxxxxxxxxxxx]
On Behalf Of Darren Mar-Elia
Sent: Wednesday, September 19, 2007 10:40 PM
To: gptalk@xxxxxxxxxxxxx
Subject: [gptalk] Re: "browse in same window" option in Windows Explorer

What type of reg values are those Piet? Are they REG_BINARY or
REG_DWORD?

Darren

-----Original Message-----
From: gptalk-bounce@xxxxxxxxxxxxx [mailto:gptalk-bounce@xxxxxxxxxxxxx]
On Behalf Of Piet Slaghekke
Sent: Wednesday, September 19, 2007 6:58 PM
To: gptalk@xxxxxxxxxxxxx
Subject: [gptalk] Re: "browse in same window" option in Windows Explorer

Ok I found it with Regshot 1.8.1 (I could not find an easy way  with
Regmon since it listed hundreds of registry queries, Regshot allowed me
to take a snap shot before and after the changes and then compared the
two and lasted listed deletions and modifications, very nice. tool!) 


When the browse in same window option is unchecked this key is added:

HKLM\SOFTWARE\Classes\Word.Document.8\BrowserFlags: 0x00000008



I also want to set  the "confirm open after download" option. 

Unchecking this option changes the following key:

from this:  HKLM\SOFTWARE\Classes\Word.Document.8\EditFlags: 0x00000000

to this: HKLM\SOFTWARE\Classes\Word.Document.8\EditFlags: 0x00010000

so how do I create an adm template to push this setting out through a
GPO?


***********************
You can unsubscribe from gptalk by sending email to
gptalk-request@xxxxxxxxxxxxx with 'unsubscribe' in the Subject field OR
by logging into the freelists.org Web interface. Archives for the list
are available at http://www.freelists.org/archives/gptalk/
************************
***********************
You can unsubscribe from gptalk by sending email to
gptalk-request@xxxxxxxxxxxxx with 'unsubscribe' in the Subject field OR
by logging into the freelists.org Web interface. Archives for the list
are available at http://www.freelists.org/archives/gptalk/
************************

***********************
You can unsubscribe from gptalk by sending email to
gptalk-request@xxxxxxxxxxxxx with 'unsubscribe' in the Subject field OR
by logging into the freelists.org Web interface. Archives for the list
are available at http://www.freelists.org/archives/gptalk/
************************
***********************
You can unsubscribe from gptalk by sending email to
gptalk-request@xxxxxxxxxxxxx with 'unsubscribe' in the Subject field OR
by logging into the freelists.org Web interface. Archives for the list
are available at http://www.freelists.org/archives/gptalk/
************************

***********************
You can unsubscribe from gptalk by sending email to
gptalk-request@xxxxxxxxxxxxx with 'unsubscribe' in the Subject field OR
by logging into the freelists.org Web interface. Archives for the list
are available at http://www.freelists.org/archives/gptalk/
************************
***********************
You can unsubscribe from gptalk by sending email to
gptalk-request@xxxxxxxxxxxxx with 'unsubscribe' in the Subject field OR
by logging into the freelists.org Web interface. Archives for the list
are available at http://www.freelists.org/archives/gptalk/
************************

***********************
You can unsubscribe from gptalk by sending email to
gptalk-request@xxxxxxxxxxxxx with 'unsubscribe' in the Subject field OR
by logging into the freelists.org Web interface. Archives for the list
are available at http://www.freelists.org/archives/gptalk/
************************
***********************
You can unsubscribe from gptalk by sending email to
gptalk-request@xxxxxxxxxxxxx with 'unsubscribe' in the Subject field OR
by logging into the freelists.org Web interface. Archives for the list
are available at http://www.freelists.org/archives/gptalk/
************************

***********************
You can unsubscribe from gptalk by sending email to
gptalk-request@xxxxxxxxxxxxx with 'unsubscribe' in the Subject field OR
by logging into the freelists.org Web interface. Archives for the list
are available at http://www.freelists.org/archives/gptalk/
************************
***********************
You can unsubscribe from gptalk by sending email to
gptalk-request@xxxxxxxxxxxxx with 'unsubscribe' in the Subject field OR
by logging into the freelists.org Web interface. Archives for the list
are available at http://www.freelists.org/archives/gptalk/
************************

***********************
You can unsubscribe from gptalk by sending email to
gptalk-request@xxxxxxxxxxxxx with 'unsubscribe' in the Subject field OR
by logging into the freelists.org Web interface. Archives for the list
are available at http://www.freelists.org/archives/gptalk/
************************
***********************
You can unsubscribe from gptalk by sending email to
gptalk-request@xxxxxxxxxxxxx with 'unsubscribe' in the Subject field OR
by logging into the freelists.org Web interface. Archives for the list
are available at http://www.freelists.org/archives/gptalk/
************************

***********************
You can unsubscribe from gptalk by sending email to
gptalk-request@xxxxxxxxxxxxx with 'unsubscribe' in the Subject field OR
by logging into the freelists.org Web interface. Archives for the list
are available at http://www.freelists.org/archives/gptalk/
************************
***********************
You can unsubscribe from gptalk by sending email to
gptalk-request@xxxxxxxxxxxxx with 'unsubscribe' in the Subject field OR
by logging into the freelists.org Web interface. Archives for the list
are available at http://www.freelists.org/archives/gptalk/
************************

***********************
You can unsubscribe from gptalk by sending email to
gptalk-request@xxxxxxxxxxxxx with 'unsubscribe' in the Subject field OR
by logging into the freelists.org Web interface. Archives for the list
are available at http://www.freelists.org/archives/gptalk/
************************
***********************
You can unsubscribe from gptalk by sending email to
gptalk-request@xxxxxxxxxxxxx with 'unsubscribe' in the Subject field OR
by logging into the freelists.org Web interface. Archives for the list
are available at http://www.freelists.org/archives/gptalk/
************************

***********************
You can unsubscribe from gptalk by sending email to
gptalk-request@xxxxxxxxxxxxx with 'unsubscribe' in the Subject field OR
by logging into the freelists.org Web interface. Archives for the list
are available at http://www.freelists.org/archives/gptalk/
************************
***********************
You can unsubscribe from gptalk by sending email to
gptalk-request@xxxxxxxxxxxxx with 'unsubscribe' in the Subject field OR by
logging into the freelists.org Web interface. Archives for the list are
available at http://www.freelists.org/archives/gptalk/
************************

***********************
You can unsubscribe from gptalk by sending email to 
gptalk-request@xxxxxxxxxxxxx with 'unsubscribe' in the Subject field OR by 
logging into the freelists.org Web interface. Archives for the list are 
available at http://www.freelists.org/archives/gptalk/
************************

Other related posts: