How can create registry value with GPO OR script
Hi Friends
I have around 45 registry entries in .REG file.. in HKLM and KHCU path as give below as example
How can i create these registry entries through logon file with GPO or script..
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\DT Research]
[HKEY_CURRENT_USER\Software\DT Research\BtnManagement]
@=""
[HKEY_CURRENT_USER\Software\DT Research\BtnManagement\BtnFunc1]
[HKEY_CURRENT_USER\Software\DT Research\BtnManagement\BtnFunc1\Button0]
"strDescription"="Brightness"
"iFunction"=dword:80010005
"strAppPath"="DtrBrightness.exe"
"strAppParameter"=""
"vkcode"=dword:00000001
"repeat"=dword:00000000
[HKEY_CURRENT_USER\Software\DT Research\BtnManagement\BtnFunc1\Button1]
"strDescription"="Brightness"
"iFunction"=dword:80010005
"strAppPath"="DtrBrightness.exe"
"strAppParameter"=""
"vkcode"=dword:00000002
"repeat"=dword:00000000
there are two ways you can achieve this.
if you are using server 2008 or higher and if your clients are windows xp with latest updates and IE or higher you can use group policy preferences. You would need to configure the settings from your reg key using group policy editor under the preferences
section. We can provide more detailed instructions for this if you need.
alternativley, a simpler option, but maybe less manageable, is to split your reg file into two sections - one for the user and one for the machine. This is required since i am assuming your users are not local admins on their computers - if they are then
you don't need to split it.
once split you would need to create two batch file scripts which from memory you would use reg /s path_to_reg_file.reg
you need one computer startup script which applies the settings to the HKLM keys - as you need admin rights to do this, the script in the computer startup will run under the computer account which is privileged.
you can then create the same batch file but point to your user settings reg file and put this as a user login script.
if you need further step by step please let us know.
Regards,
Denis Cooper
MCITP EA - MCT
Help keep the forums tidy, if this has helped please mark it as an answer
My Blog
LinkedIn:
Similar Messages
-
How can create a JTree with cellRender is checkbox realized multiple selec
How can create a JTree with cellRender is checkbox realized multiple selection function.thanks for every
one's help.Hi,
1. Create a value node in your context name Table and set its cardinality to 0:n
2. Create 2 value attributes within the Table node name value1 and value2
3. Goto Outline view> Right click on TransparentUIContainer>Apply Template> Select Table>mark the node Table and it's attributes.
you have created a table and binded its value to context
Table UI properties
4.Set Selection Mode to Multi
5.Set Visible Row Count to 5
6.ScrollableColCount to 5
In your implemetaion, you can add values to table as follow:
IPrivate<viewname>.ITableElement ele = wdContext.nodeTable().createTableElement();
ele.setValue1(<value>);
ele.setValue2(<value>);
wdContext.nodeTable().addElement(ele);
The above code will allow you to add elements to your table node.
Regards,
Murtuza -
How can i insert values with single quote (')
How can i insert a values like ABC's ?
Edited by: LuKKa on Oct 6, 2010 12:48 PMLuKKa wrote:
I want to insert like this :-
INSERT INTO myTab values ('This is belong's to ABC's ');
Then how can i do ?In a old style you can do this
insert into mytab valeus('This is belong''s to ABC''s'); -
Hi Apple Support,
I can't create new Apple ID with new domain email such as: .pics, .center, .guru, ... So, please update or help me fix that problem, thank you!Why are you creating another AppleID?
-
How can create an email with checkboxes?
I want to send an email with a list and has the recipients to check items in the list. For example, I have the following list:
Which office applications do you use?
Outlook
Excel
Word
PowerPoint
Access
Instead of the dot, I want to use a checkbox and recipients can check the appropriate checkbox and reply me.
Thanks for any help.Hello Max,
I followed your instructions and I successfully created checkboxes in my email. But when I sent it to other people and everyone else failed to be able to check off the boxes (I
cc myself and it worked for me nevertheless)... could you advise why and what have I missed
out in the process?
Thank you.
Best regards.
Harley
Sorry Harley,
It is proved that the ActiveX check box will not work after you send the email to the other users due to the Outlook security policy. Sorry for that.
The easiest workaround might be using the Vote feature instead. Or send a Word document to the users, and let them send you the document back.
Other possible alternates:
Create a custom Outlook form, which allows you to add such controls, but you need to distribute the form to all the users that you want them to use the checkbox, seems to be an expensive solution.
If InfoPath is available in your working environment, using InfoPath form is another alternate. (Read
Use InfoPath e-mail forms in Outlook) (Note the recipients also need InfoPath installed.)
If SharePoint is available in your working environment, create a survey in the SharePoint is another alternate. (Read
Create a survey)
Max Meng
TechNet Community Support -
Creating a text with a java script on fixed position
Hello i want to know how to create a text with a java script on fixed position
thanxHi,
Your next steps are hidden here:
http://www.jongware.com/idjshelp.html
Object you created (textFrame, page, text) have properties to set or methods to execute.
You could find them all inside above Jongware's Kingdom of Knowledge.
In example:
to set your text size use:
myTextFrame.texts[0].pointSize = 12;
Jarek -
IF_IXML : How can i add encoding with value UTF-8 to the document object??
Hi
i want to create a xml file with the following content:
<?xml version="1.0" encoding="UTF-8"?>
<OpenSearchDescription xmlns="http://....">
</OpenSearchDescription>
i did this with the if_ixml interface and rendered the content in a file 'D:\usr\sap\IFD\DVEBMGS01\log\TEST_out.xml
<?xml version="1.0"?>
<OpenSearchDescription xmlns="http://....">
</OpenSearchDescription>
BUT the document attribut(?) encoding="UTF-8"?> is missing!
How can i add encoding with value UTF-8 to the document object?? it should look like:
<?xml version="1.0" encoding="UTF-8"?>
*here is my coding.
TYPE-POOLS: ixml.
CLASS cl_ixml DEFINITION LOAD.
DATA: lo_ixml TYPE REF TO if_ixml,
lo_streamfactory TYPE REF TO if_ixml_stream_factory,
lo_document TYPE REF TO if_ixml_document,
lo_parent TYPE REF TO if_ixml_element,
lo_ostream TYPE REF TO if_ixml_ostream,
lo_renderer TYPE REF TO if_ixml_renderer,
lv_rc TYPE i.
lo_ixml = cl_ixml=>create( ).
lo_streamfactory = lo_ixml->create_stream_factory( ).
lo_document = lo_ixml->create_document( ).
lo_parent = lo_document->create_simple_element( name = 'OpenSearchDescription' "root node
parent = lo_document ).
lo_parent->set_attribute_ns( name = 'xmlns'
value = 'http://....' ).
*rausrendern in file
lo_ostream = lo_streamfactory->create_ostream_uri( system_id = 'D:\usr\sap\IFD\DVEBMGS01\log\TEST_out.xml' ).
lo_renderer = lo_ixml->create_renderer( ostream = lo_ostream
document = lo_document ).
lv_rc = lo_renderer->render( ).
Thanks for help
BrittaUse the following code:
set an document encoding
l_encoding = l_ixml->create_encoding( character_set = 'UTF-8'
byte_order = if_ixml_encoding=>co_none ).
l_success = l_ostream->set_encoding( encoding = l_encoding ).
create a xml renderer
l_renderer = l_ixml->create_renderer( document = l_doc ostream = l_ostream ). -
Hello,
I want pass value in STATUS and Reason for rejection according to requirement when i am creating multiple lead using BAPI_LEAD_CREATEMULTI. Please help me how can i pass value. Please give some sample code that in which table i have to pass values and please also tell me INPUT_FIELDS values. Please help me
Regards,
Kshitij RathoreHello,
Please help me for solve this problem. I am trying to solve problem from last 4 days but i didn't get any solution.
Regards,
Kshitij Rathore -
How to create a matrix with constant values and multiply it with the output of adc
How to create a matrix with constant values and multiply it with the output of adc
nitinkajay wrote:
How to create a matrix with constant values and multiply it with the output of adc
Place array constant on diagram, drag a double to it, r-click "add dimension". There, a constant 2D double array, a matrix.
/Y
LabVIEW 8.2 - 2014
"Only dead fish swim downstream" - "My life for Kudos!" - "Dumb people repeat old mistakes - smart ones create new ones."
G# - Free award winning reference based OOP for LV -
Can someone tell me how to create accounting entries with the account status as error
Hi,
Can someone tell me how to create accounting entries with the
account status as error?
Thanks!!
DannyIt's call fixed/static background, and it is NOT directly support by iweb, you will need post processing either in html or javascript.
Varkgirl (you need to search the previous forum) and I did it since iweb1:
try Safari, and scroll: http://www.geocities.com/[email protected]/Links.html
invisible link? roddy, fishing for info again? -
How i can Create Master Repository with MySQL Database?
How i can Create Master Repository with MySQL Database? i need to using MySQL Database to Master & Work Repository.
I try to add mysql libary jar file to drivers . But , can't display MySQL Technology in Database List for Create Master Repository ?
Please..
Edited by: MadoatZ on Feb 19, 2011 1:47 AMCreation of ODI master repository is limited to few relational databases only. Check certification matrix for ODI 11g
Oracle 10.2.0.4+
Oracle 11.1.0.7+
Oracle 11.2.0.1+
Microsoft SQL Server 2005
Microsoft SQL Server 2008
IBM DB2/UDB 9.7 and later FixPaks
IBM DB2/400 (V5R4+)
Hypersonic SQL 1.7.3+
Sybase AS Enterprise 15.0.x
thanks -
I created new users on my mac and my music, photos, etc. are all still on the administrators account. I tried making the other 2 new accounts administrators but that didn't work. How can I share them with all users?
Read "iTunes: Setting up Home Sharing on your computer."
-
How can I add values on a Drop Down by Index Webdynpro Element?
Hi every body
Can anybody help me?
How can I add values on a Drop Down by Index Webdynpro Element?
How can I invoque my element on the Implementation Webdynpro?Hi Jesus,
You can add elements to your DDbyIndex like this:
//Example: Popular un Dropdown by Index usando Nodos de contexto
// NODE[Card: 1..n, Sele:1..1] Si es obligatorio; || NODE[Card: 0..n, Sele:0..1] Si no es obligatorio y se puede dejar en blanco
//Assuming we created a node called "Source", with a string attribute called "Texto" binded to the dropdownbyindex
for (int i = 1; i <= 101; i++)
ISourceElement sourceElement = wdContext.createSourceElement();
sourceElement.setTexto("Text number "+i);
wdContext.nodeSource().addElement(sourceElement);
Regards.
Julio Herrera -
How can I add values on a Drop Down by Index Webdynpro Element by a Model?
How can I add values on a Drop Down by Index Webdynpro Element with a Model RFC?
Hi Jesus,
Please use the below code for DropDownByIndex Elements :-
Suppose you have model node ABC and attribute xyz. Now you have created custom node CustNode and attribute CustAtt.
ICustNodeElement ele = null;
if(wdContext.nodeABC().size > 0)
for(int i=0; i< CustNode< wdContext.nodeABC().size; i++
ele = wdContext. createCustNode();
ele.setCustAtt(wdContext.nodeABC().getABCElementAt(i).getXYZ)
wdContext.nodeCustNode.add(ele);
Refer to http://help.sap.com/saphelp_nw70/helpdata/en/3b/f1754276e4c153e10000000a1550b0/frameset.htm
Best Regards
Arun Jaiswal -
How to create a GregorianCalendar with timezone information
Hello All,
Can any one tell me how to create a GregorianCalendar with time zone information i.e
I have following information with me
year
month
day
hour
minutes
seconds
deci-seconds
direction from UTC "+" / "-" (in ascii notation)
hours from UTC minutes from UTC
How can i construct a calender out of it?How to construct a calendar:
Calendar.getInstance()
Did you consider looking at the API docs with the set() method for calendar and the field constants for the values you can set?
Although I wonder whether it's simpler to just concatenate the data to a String and parse it to a Date instance using SimpleDateFormat.
Maybe you are looking for
-
CAN I USE TWO IPODS ON THE SAME COMPUTER? PLS help
i cant seem to find alot of info about this on here... i am probably looking in the wrong place... but heres my situation. Ive had an ipod mini for 2 years now but ive just bought an ipod nano ..... i do all of my main downloading on my power mac g4,
-
I am experiencing two issues right now.
My iPhone 5 loses connection to my home wireless internet continuously. I can't say that this is happening while using other wireless internet. I have to reboot my internet for it to connect. My second issue is that my phone will go to a the w
-
SAP Portal Integration with InfoView
Hi Experts, I have successfully configured SAP Portal Integration with InfoView using the following steps provided by Ingo: - set the system that you want to be authenticated against as the DEFAULT system in the options of the SAP authentication. - g
-
Is there anything I can do about a halo that appears on the screen of my 20" cinema display? It's a terribly distracting flaw.
-
Does anybody know if you can run Esscmd or Maxl scripts from a Linux server or workstation?