Sponsored Content
Top Forums UNIX for Advanced & Expert Users Read/update windows registry using UNIX script Post 302376094 by sathish57 on Monday 30th of November 2009 03:51:11 PM
Old 11-30-2009
Power Read/update windows registry using UNIX script

Hi,

I have a requirement where in to read the registry value of a windows NT based system from a AIX server which should be automatic. For eg. the script should connect to the Win NT system, read the registry as specified on the input and display the output on the AIX screen?

Eg. <script name> <remote machine IP address running on win nt> <registry path> <key>

How to achieve this? Please suggest.
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

How to change the MTU in Unix registry?

Does anyone know how to or know of a web page where I can find how to change the MTU speed in Unix registry? Any info. would be greatly appreciated. Thanks, Techie (2 Replies)
Discussion started by: Techie_girl
2 Replies

2. UNIX for Dummies Questions & Answers

Comparable registry file in UNIX

Hi all, I am totally new to UNIX. I am currently using converting an existing software package from MFC C++ to wxwindow which allows the software to run under Windows and UNIX. My problem is my existing software package writes to and from the registry. How is this accomplished in UNIX? ... (2 Replies)
Discussion started by: DavidCountry
2 Replies

3. UNIX for Dummies Questions & Answers

Can UNIX data on tape be read in Windows??

Hello All: We have acquired a business (UNIX system) and inherited data which is on SDLT tapes. We'd like to read this data and save it in Windows format, if possible. Anyone in the know on how to do that, if feasible? Please give your suggestions. Regards (2 Replies)
Discussion started by: yourstruly
2 Replies

4. Shell Programming and Scripting

ftp from windows to unix using a perl script on unix machine

i need to ftp a file from windows to a unix machine by executing a sript(perl/shell/php) from that unix machine.i can also use HTML and javascript to build forms. (3 Replies)
Discussion started by: raksha.s
3 Replies

5. Shell Programming and Scripting

Unix shell script to Copy files from one Windows server to another Windows server.

Can anybody please help me on how to code for the below requirement: I need to write a shell script (on different unix server) to copy files from multiple folders (ex. BRN-000001) from one windows server (\\boldls-mwe-dev4)to a different windows server(\\rrwin-ewhd04.ecomad.int). This shell... (4 Replies)
Discussion started by: SravsJaya
4 Replies

6. Shell Programming and Scripting

UNIX script to FTP file from UNIX server to windows

Hi, I am new to this subject.....Can someone please help me out with the script... unix usernm "sdhftst" unix pwd "chsd13" windows usernm "dfghtst" windows pwd "chsd13" path..../xxx/xxxxx/xxxxxx/xxxxxxx please can u get me a script...its only one file to get ftp. Thanks... (2 Replies)
Discussion started by: himakiran9
2 Replies

7. Shell Programming and Scripting

FTP from windows to unix server using unix shell script

Hi, Is it possible to ftp a huge zip file from windows to unix server using unix shell scripting? If so what command i need to use. thanks in advance. (1 Reply)
Discussion started by: Shri123
1 Replies

8. Shell Programming and Scripting

Shell script to read from a file and update remote server

Its a tough one and would appreciate any guidance for a script that i am trying to develop....Again I do understand its a complicated script and help would be greatly appreciated.... Thank you 1- Need to check for a file (in a certain location on a server) every 15 minute or so if it is there... (4 Replies)
Discussion started by: aavam
4 Replies

9. Shell Programming and Scripting

how to get the value of a registry using csh script.

hi, how to get the value of a registry using csh script. thanks. (1 Reply)
Discussion started by: Rashid Khan
1 Replies

10. UNIX for Beginners Questions & Answers

Seen Windows pc, having all the features of Linux, could exe, read and edit save like windows

Hi, totally new to linux base using windows when started learning and using computers. but i remember that one pc was there , look alike windows desktop, but could not do the task as windows just click and open and view edit etc. But, you could do a little differently even saving in and opening... (8 Replies)
Discussion started by: jraju
8 Replies
wsreg_initialize(3WSREG)			    Product Install Registry Library Functions				  wsreg_initialize(3WSREG)

NAME
wsreg_initialize - initialize wsreg library SYNOPSIS
cc [flag ...] file ...-lwsreg [library ...] #include <wsreg.h> int wsreg_initialize(Wsreg_init_level level, const char *alternate_root); DESCRIPTION
The wsreg_initialize() function initializes the wsreg library. The level argument can be one of the following: WSREG_INIT_NORMAL If an old registry file is present, attempt to perform a conversion. WSREG_INIT_NO_CONVERSION If an old conversion file is present, do not perform the conversion, but indicate that the conversion is recommended. The alternate_root argument can be used to specify a root prefix. If NULL is specified, no root prefix is used. RETURN VALUES
The wsreg_initialize() function can return one of the following: WSREG_SUCCESS The initialization was successful and no registry conversion is necessary. WSREG_CONVERSION_RECOMMENDED An old registry file exists and should be converted. A conversion is attempted if the init_level argument is WSREG_INIT_NORMAL and a registry file from a previous version of the product install registry exists. If the wsreg_initialize() function returns WSREG_CONVERSION_RECOMMENDED, the user either does not have permission to update the product install registry or does not have read/write access to the previous registry file. USAGE
The wsreg_initialize() function must be called before any other wsreg library functions. The registry conversion can take some time to complete. The registry conversion can also be performed using the graphical registry viewer /usr/bin/prodreg or by the registry converter /usr/bin/regconvert. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |MT-Level |Unsafe | +-----------------------------+-----------------------------+ SEE ALSO
prodreg(1M), wsreg_can_access_registry(3WSREG), attributes(5) SunOS 5.10 22 Sep 2000 wsreg_initialize(3WSREG)
All times are GMT -4. The time now is 04:13 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy