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

  • From: "Darren Mar-Elia" <darren@xxxxxxxxxx>
  • To: <gptalk@xxxxxxxxxxxxx>
  • Date: Thu, 20 Sep 2007 09:30:45 -0700

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 //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 //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 //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 //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 //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 //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 //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 //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 //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 //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 //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 //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 //www.freelists.org/archives/gptalk/
************************

Other related posts: