Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

regedit 1

Status
Not open for further replies.

crmpicco

Programmer
Nov 29, 2004
66
0
0
GB
my command was:

regedit /e crm.reg regkey HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\AdvancedOptions\PRINT\BACKGROUND

where is 'crm.reg' stored?

Picco
 
c:\docs & settings\username.... if u did it from cmd prompt.

or try c:\win\sys32

there is a search function in windows too....
:)

Aftertaf (david)
MCSA 2003
 
there is a search function in windows too....
:)

it didnt find the file......................
 
then it most probably hasnt been saved...

run it from a command window.

Aftertaf (david)
MCSA 2003
 
The syntax is wrong. There should not be the word regkey:
regedit /e crm.reg HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\AdvancedOptions\PRINT\BACKGROUND

You can path the crm.reg file:
regedit /e c:\crm.reg ....etc.
 
Sorry:

my command was:

regedit /e crm.reg HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\AdvancedOptions\PRINT\BACKGROUND

where is 'crm.reg' stored?

it just seems to have disappeared. I used the command prompt. any ideas guys?

Picco
 
You can path the crm.reg file:
regedit /e c:\crm.reg ....etc.

I am curios why you do not simply open regedit, go down t the key, and right-click and select Export. A standard save dialogue box will then open and you can select the folder to save the file.
 
Windows Registry Editor Version 5.00
Code:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\AdvancedOptions\PRINT\BACKGROUND]
"RegPath"="SOFTWARE\\Microsoft\\Internet Explorer\\Main"
"RegPoliciesPath"="SOFTWARE\\Policies\\Microsoft\\Internet Explorer\\Main"
"Text"="Print background colors and images"
"PlugUIText"="@inetcplc.dll,-4770"
"Type"="checkbox"
"CheckedValue"="yes"
"UncheckedValue"="no"
"ValueName"="Print_Background"
"DefaultValue"="no"
"HKeyRoot"=dword:80000001
"HelpID"="iexplore.hlp#50191"

Can I add this to HTML/ASP? I want every client to have this checkbox checked.

Picco
 
Open notepad and copy/paste the below as print_backgrd.reg

**** start copy/paste below this line
REGEDIT4

; (there is deliberately one blank line above)
; Set current users setting to print background color and text
;
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main]
"Print_Background"="yes"

;
; Set default IE Advanced Options for print background color to yes
;
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\AdvancedOptions\PRINT\BACKGROUND]
"DefaultValue"="yes"

******* end copy/paste above this line

In the logon script for the users, add the line:

regedit /s path:print_backgrd.reg


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top