Uninstall program on remote machine -

All,
I am trying to uninstall an application on a WYSE 32bit Windows Embedded device.  I am unable to use WIn32_product and have to Win32Reg_AddRemovePrograms.  I can query the device remotely fine with the following command
PS C:\> get-wmiobject -Class Win32Reg_AddRemovePrograms -ComputerName rob_wyse | where {$_.Displayname -like "blah*"} | select ProdID | fw
{548B747B-9B82-4FA7-91C8-15C8E8B053B1}
My issue is I want to capture the output of the ProdID into a variable and then use invoke-command to call MsiExec to uninstall the program.  Below is what I have thus far..I was trying to use
the "outVariable" with hopes that I could use Invoke-Command -ComputerName rob_wyse "MsiExec.exe /norestart /q/x '$prid'" to run the uninstall with MSIEXEC.
What is the best way?  Where am I going wrong?
get-wmiobject -OutVariable prdid -Class Win32Reg_AddRemovePrograms -ComputerName rob_wyse | where {$_.Displayname -like "Blah*"} | select ProdID | fw
Invoke-Command -ComputerName rob_wyse "MsiExec.exe /norestart /q/x '$prid'"
Thanks for the help.
Rob
Thank you for your help and time, Robert Jaudon

You could try using psexec instead of invoke-command, but you wouldn't be able to execute the get-wmiobject command.  Is powershell even installed on it?
In your script do this:
$prodid = (get-wmiobject -OutVariable prdid -Class Win32Reg_AddRemovePrograms -ComputerName rob_wyse | where {$_.Displayname -like "Blah*"} | select ProdID).ProdId
start-process psexec -argumentlist "-accepteula \\rob_wyse msiexec /X$ProdID /q /norestart" -PassThru
This assumes you've installed psexec to system32 and is in your path, otherwise add the full path and filename in place of just 'psexec'
Psexec info and download:
http://technet.microsoft.com/en-us/sysinternals/bb897553.aspx
Good luck!

Similar Messages

  • Forms6: Execute program in remote machine?

    Hi,
    I'm trying to execute a program in a remote machine. For exemple: I can use the function 'host ('notepad')' and the notepad executes in the machine running the .fmx. How can I execute a command in a remote machine running Unix? Is there a function?
    I'm using Developer6 (forms).
    Thanks.

    You should be able to use <cfexecute...> to do this,
    you will have to
    make sure all the connections and permissions are set up.
    Just remember that by default, at least on windows systems,
    CF is
    configured to only have access and permissions to the local
    system, you
    will need to modify this if it has not been done.

  • Program to open file in remote machine

    Hi,
    i want to write a program in which i can access a file in another system.
    But the catch here is that the other system is using password to login to the system.
    How i can provide password through my Java Program to access to other machine
    ~Aman

    Can you just send me the code how to read file from Shared folder/drive through java program?
    e.g ="\\mcno-pc180\shared\HelloWorld.txt". I am able to access file HelloWorld.txt from my machine which is placed in shared folder path "\\mcno-pc180\shared\".
    Regards
    SPulluri
    Share the folder/drive which you want to access on the remote machine then your application can access it.
    Try to use the user which has already rights of reading/writing to that machine then the security dialog will not appear.

  • Since upgrading to OSX 10.6.8, I am unable to use scp on a remote machine to copy files into my iMac.

    Any suggestions?
    However, I can use scp to copy files out from my iMac (10.6.8) .
    I can ssh into the iMac OK.
    I created a .profile in my iMac home directory with the single line "export TERM=xterm-color".
    This makes a difference to how scp behaves when attempting to copy into the iMac, but it still fails.
    Thanks in advance for any help.  Peter R
    Here is the scp debug output (on the remote machine that I'm copying a file from, to the iMac):
    ===
    Executing: program /usr/bin/ssh host molika.ucsd.edu, user prowat, command scp -v -t Desktop/FromPelican/Outs201201.pdf
    Sun_SSH_1.1.3, SSH protocols 1.5/2.0, OpenSSL 0x0090704f
    debug1: Reading configuration data /etc/ssh/ssh_config
    debug1: Rhosts Authentication disabled, originating port will not be trusted.
    debug1: ssh_connect: needpriv 0
    debug1: Connecting to molika.ucsd.edu [137.110.243.133] port 22.
    debug1: Connection established.
    debug1: identity file /home/nona/.ssh/identity type -1
    debug1: identity file /home/nona/.ssh/id_rsa type -1
    debug1: identity file /home/nona/.ssh/id_dsa type -1
    debug1: Remote protocol version 1.99, remote software version OpenSSH_5.2
    debug1: match: OpenSSH_5.2 pat OpenSSH*
    debug1: Enabling compatibility mode for protocol 2.0
    debug1: Local version string SSH-2.0-Sun_SSH_1.1.3
    debug1: use_engine is 'yes'
    debug1: pkcs11 engine initialized, now setting it as default for RSA, DSA, and symmetric ciphers
    debug1: pkcs11 engine initialization complete
    debug1: Failed to acquire GSS-API credentials for any mechanisms (No credentials were supplied, or the credentials were unavailable or inaccessible
    Unknown code 0
    debug1: SSH2_MSG_KEXINIT sent
    debug1: SSH2_MSG_KEXINIT received
    debug1: kex: server->client aes128-ctr hmac-md5 none
    debug1: kex: client->server aes128-ctr hmac-md5 none
    debug1: Peer sent proposed langtags, ctos:
    debug1: Peer sent proposed langtags, stoc:
    debug1: We proposed langtags, ctos: i-default
    debug1: We proposed langtags, stoc: i-default
    debug1: SSH2_MSG_KEX_DH_GEX_REQUEST sent
    debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
    debug1: dh_gen_key: priv key bits set: 124/256
    debug1: bits set: 1007/2048
    debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
    debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
    debug1: Host 'molika.ucsd.edu' is known and matches the RSA host key.
    debug1: Found key in /home/nona/.ssh/known_hosts:1
    debug1: bits set: 1043/2048
    debug1: ssh_rsa_verify: signature correct
    debug1: newkeys: mode 1
    debug1: set_newkeys: setting new keys for 'out' mode
    debug1: SSH2_MSG_NEWKEYS sent
    debug1: expecting SSH2_MSG_NEWKEYS
    debug1: newkeys: mode 0
    debug1: set_newkeys: setting new keys for 'in' mode
    debug1: SSH2_MSG_NEWKEYS received
    debug1: done: ssh_kex2.
    debug1: send SSH2_MSG_SERVICE_REQUEST
    debug1: got SSH2_MSG_SERVICE_ACCEPT
    debug1: Authentications that can continue: publickey,keyboard-interactive
    debug1: Next authentication method: publickey
    debug1: Trying private key: /home/nona/.ssh/identity
    debug1: Trying private key: /home/nona/.ssh/id_rsa
    debug1: Trying private key: /home/nona/.ssh/id_dsa
    debug1: Next authentication method: keyboard-interactive
    *** Password requested & supplied
    debug1: Authentication succeeded (keyboard-interactive)
    debug1: fd 5 setting O_NONBLOCK
    debug1: fd 6 setting O_NONBLOCK
    debug1: fd 7 setting O_NONBLOCK
    debug1: channel 0: new [client-session]
    debug1: send channel open 0
    debug1: Entering interactive session.
    debug1: ssh_session2_setup: id 0
    debug1: channel request 0: env
    debug1: Sending command: scp -v -t Desktop/FromPelican/Outs201201.pdf
    debug1: channel request 0: exec
    debug1: channel 0: open confirm rwindow 0 rmax 32768
    ~
    debug1: channel 0: read<=0 rfd 5 len 0
    debug1: channel 0: read failed
    debug1: channel 0: close_read
    debug1: channel 0: input open -> drain
    debug1: channel 0: ibuf empty
    debug1: channel 0: send eof
    debug1: channel 0: input drain -> closed
    debug1: channel 0: write failed
    debug1: channel 0: close_write
    debug1: channel 0: output open -> closed
    debug1: channel 0: rcvd eof
    debug1: client_input_channel_req: channel 0 rtype exit-status reply 0
    debug1: channel 0: rcvd close
    debug1: channel 0: almost dead
    debug1: channel 0: gc: notify user
    debug1: channel 0: gc: user detached
    debug1: channel 0: send close
    debug1: channel 0: is dead
    debug1: channel 0: garbage collecting
    debug1: channel_free: channel 0: client-session, nchannels 1
    debug1: fd 0 clearing O_NONBLOCK
    debug1: fd 1 clearing O_NONBLOCK
    debug1: fd 2 clearing O_NONBLOCK
    debug1: Transferred: stdin 0, stdout 0, stderr 0 bytes in 0.9 seconds
    debug1: Bytes per second: stdin 0.0, stdout 0.0, stderr 0.0
    debug1: Exit status 0

    On looking at the secure.log on the iMac with OSX10.6.8, I see these entries at each attempt to scp into the iMac:
    Dec 29 11:06:20 molika sshd[7248]: in pam_sm_authenticate(): Failed to determine Kerberos principal name.
    Dec 29 11:06:26 molika sshd[7246]: Accepted keyboard-interactive/pam for prowat from 137.110.243.132 port 35571 ssh2
    Dec 29 11:06:26 molika com.apple.SecurityServer[26]: Session 0x236a14 created
    Dec 29 11:06:26 molika com.apple.SecurityServer[26]: Session 0x236a14 attributes 0x20
    Dec 29 11:06:27 molika com.apple.SecurityServer[26]: Session 0x236a14 dead
    Dec 29 11:06:27 molika com.apple.SecurityServer[26]: Killing auth hosts
    Dec 29 11:06:27 molika com.apple.SecurityServer[26]: Session 0x236a14 destroyed
    I don't know what to make of this.
    Peter R

  • Not able to access database from a remote machine using SQL Server Management Studio

    Hi,
    I have a DB_BOX with SQL Server 2008 R2 installed. I can access the databases on the local machine using SQL Server Management Studio but it is not accessible from other machines, though the machines are in same domain.
    I have remote enabled on SQL Server box, TCP enabled, firewall off. I checked with IP Address too, all SQL Server services are running.
    The SQL Server log shows the message
    The requested service has been stopped or disabled and is unavailable at this time. The connection has been closed.
    I get the below message in SSMS from remote machine.
    Details of error message are
    ===================================
    Cannot connect to DB_BOX.
    ===================================
    A connection was successfully established with the server, but then an error occurred during the login process. (provider: TCP Provider, error: 0 - The specified network name is no longer available.) (.Net SqlClient Data Provider)
    For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&EvtSrc=MSSQLServer&EvtID=64&LinkId=20476
    Server Name: DB_BOX
    Error Number: 64
    Severity: 20
    State: 0
    Program Location:
       at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
       at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
       at System.Data.SqlClient.TdsParserStateObject.ReadSniError(TdsParserStateObject stateObj, UInt32 error)
       at System.Data.SqlClient.TdsParserStateObject.ReadSni(DbAsyncResult asyncResult, TdsParserStateObject stateObj)
       at System.Data.SqlClient.TdsParserStateObject.ReadNetworkPacket()
       at System.Data.SqlClient.TdsParserStateObject.ReadBuffer()
       at System.Data.SqlClient.TdsParserStateObject.ReadByte()
       at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
       at System.Data.SqlClient.SqlInternalConnectionTds.CompleteLogin(Boolean enlistOK)
       at System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnection owningObject)
       at System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(String host, String newPassword, Boolean redirectedUserInstance, SqlConnection owningObject, SqlConnectionString connectionOptions, Int64 timerStart)
       at System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection owningObject, SqlConnectionString connectionOptions, String newPassword, Boolean redirectedUserInstance)
       at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, Object providerInfo, String newPassword, SqlConnection owningObject, Boolean redirectedUserInstance)
       at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection)
       at System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup)
       at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)
       at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
       at System.Data.SqlClient.SqlConnection.Open()
       at Microsoft.SqlServer.Management.SqlStudio.Explorer.ObjectExplorerService.ValidateConnection(UIConnectionInfo ci, IServerType server)
       at Microsoft.SqlServer.Management.UI.ConnectionDlg.Connector.ConnectionThreadUser()

    Sorry, missed the message from the errorlog in the original post. You shouldn't have included that big .Net dump that hid the important facts. :-)
    My first Google attempt on that message (which I have never seen before) suggests that the TCP Enpoint is stopped, so try this:
    ALTER ENDPOINT [TSQL Default TCP]
    STATE=STARTED;
    Erland Sommarskog, SQL Server MVP, [email protected]
    This solves the problem. Thanks...

  • Start Lync 2010 client on remote machine

    I have a couple of users who like to logout of their Lync 2010 client. They apparently think that they are being watched through this program.  This is a bit of a hassle since we use this program to see if users are sitting at their desk.
    I am trying to write a .bat file to automatically kill the communicator process and then restart the program on the remote machine.  I am having nothing but success with killing the communicator process using pskill.  When attempting to start the
    client using psexec, however, it will not work.  
    It will start a new communicator.exe process on the remote computer just fine.  It doesn't seem to actually start the program though.  There is no icon in the taskbar showing the program is running and communication with the user does not work
    as it still shows them offline.
    On the local machine (the one I am running from), I just use a bat file that calls another .bat file on the remote machine.  The .bat file on the remote machine kills all communicator.exe processes using pskill -t.  It then attempts to start a
    new communicator session using "start communicator /fromrunkey"  This will start a new communicator.exe process on the remote computer without any problems. That's all it will do though.
    Anybody have any suggestions on what I can do to make it actually launch the client on the remote computer?  I have exhausted all options I can come up with.  I would like to get this working so the users in question finally figure out that if
    they logout of Lync it is going to just start back up on them.  Hopefully after time they will catch on and stop logging out of the program.

    Have we tried giving the complete location of the communicator.exe
    "start c:/.../communicator.exe /fromrunkey
    Using the same script are you able to open Notepad.exe on the remote machine just for testing 
    for more info look at http://blogs.technet.com/b/rischwen/archive/2013/06/20/lync-2013-client-auto-start-registry-key.aspx
    Please remember, if you see a post that helped you please click ;Vote As Helpful&quot; and if it answered your question please click &quot;Mark As Answer&quot; Regards Edwin Anthony Joseph

  • Update-Help error when console application is run in remote machine via PS remoting

    Hello,
    When I execute a particular console application in a remote machine via PS remoting, I get an error related to update-help. When I execute it directly on the remote machine, it works...
    My code:
    $credential = Get-Credential -Credential "DomainName\AccountName"
    $session = New-PSSession -ComputerName "MachineName" -Authentication Credssp -Credential $credential;
    Invoke-Command -session $session -ScriptBlock {
    try{
    cd <network share location>
    .\theConsoleApp.exe | Out-File C:\console-output.txt
    $error | Out-File C:\console-error-output.txt
    $exitCode
    } catch {
    throw $error
    Error seen in the console:
    NetNat, PcsvDevice, PSDesiredStateConfiguration, SoftwareInventoryLogging, StartScreen, TLS, WindowsSearch' with UI culture(s) {en-US} : Unable to retrieve the HelpInfo XML file for
    UI culture en-US. Make sure the HelpInfoUri property in the module manifest is valid or check your network connection and then try the command again.
    $error variable from above:
    Errored out (exit code 1603) with error message: ErrorId 10010: Xpatch threw an unexpected exception: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
    I’ve tried
    two different user accounts
    multiple file share locations
    different OSs
    different target servers
    but have not determined the cause of the error.
    I would appreciate any help on this.
    -Rohan.

    Clearly the remote EXE cannot run in that context.  YOU should not run that program remotely.
    I suspect there is also information you are not giving to us.
    ¯\_(ツ)_/¯

  • How to test oracle is up and running in remote machine using shell script

    Hello,
    I need help to write an linux script.
    I have a java application server running on machine 192.168.5.20 and our oracle 10g standard 1.0.2 is running on machine 192.168.5.21.
    I have found script to start oracle when computer is turned on.
    But I cannot start my application server automatically since it depends on whether oracle is up and running or not on the remote machine.
    Therefore, in case of power failure or maintenance, our client has to call us to start application server.
    I would be grateful if someone can help me "How can I write script to check oracle is up and running in machine 192.168.5.21 from machine 192.168.5.20.
    For your information, I have no oracle installed in application server. So tnsping won't work.
    What I want is when power is back, application server script automatically and tesing for oracle server is up and running. If it is up, script will start application server.
    Thanking you.

    Hi,
    It's not failover or experimental. My application server uses JBOSS and JBOSS needs database name to start up. My enviroment is LAN. My database is in different machine as I mentioned before. So In case of power failure, I need to start my application server (JBoss) manually, because I need to confirm that oracle is already running before start app server.
    I want an automated script (when power is just on) to start my application server which will wait to check if the datbase server is up I will start application server.
    The scripts given above It works if appserver and db server in the same machine (my development machine).
    But when I test the script in my production applicaiton server, It shows sqlplus command not found (my app server does not have any oracle client installed).
    About hostname yes My applicaiton server hostname is hostapp1 and dabase server hostname is hostdat1.
    Do you think Is it possible to test the script without oracle client not installed. or It has to be done writing code like java program and test using jdbc connection.
    Best regards.

  • How to use URL class to execute a java class/app  on a remote machine?

    I am a beginner in Java networking and have a question about URL programming.
    How do I pass parameters to a java class/application over the web and then cause it to execute ? I then want to get the result back from the clas/app. The class/app resides on a remote machine and the protocol used is "http" protocol. OR all this is not possible through the URL and related classes ?

    How do I pass parameters to a java class/application over the web and then cause it to execute ? Using the HTTP protocl you can either perform a GET where the parameters are in the URL or a POST where the data is sent to the server with the request.
    The server must be setup as a web server to execute code based ojn a HTTP request. Using a web server with a JSP which contains the code to execute is the simplest way to do this.
    I then want to get the result back from the clas/app. The output of the JSP becomes in the data returned by the HTTP request.
    I would suggest looking for example on google.
    http://www.google.co.uk/search?q=java+http+request+tutorial
    Another option is to use RMI. The integration is tighter but it does not use the HTTP protocol.

  • How to execute a shell script which is present in remote machine using ODI

    I have requirement of executing a batch (shell script) which is present in the remote machine.
    i have an ODI agent in remote machine as well. I have created agent locally by using the remote machine IP and port.
    I am able to test the agent successfully. But when i am executing the package using that agent it is failing with the following error
    errorODI-1226: Step Execution of the Scenario REMOTE_DEMO version 001 fails after 1 attempt(s).
    ODI-1241: Oracle Data Integrator tool execution fails.
    Caused By: oracle.odi.runtime.agent.invocation.InvocationException: HTTP/1.1 500 ODI-1423: Warning connecting to Agent localagent: work repository WORKREP1 is not bound to the master
    My Work Repository Name is : WORKREP1
    Remote Work Repository Name is:WORKREP_LOCAL.
    Could anyone please help me regarding this.
    I can't download shell script and run it locally this needs to be run on that remote machine only.
    Thanks
    senthilkumar

    This is the code.
    1. we can declare types dynamically
    2. Internal table dynamically
    3. Select querry dynamically
    just copy paste this code
    Here is the code for your question
    DATA:v_fieldname
    TYPE fieldname,
    l_PROG TYPE string,
    v_mess TYPE string,
    l_sid TYPE string,
    wa_ddfields TYPE dntab.
    DATA i_tab TYPE STANDARD TABLE OF string.
    DATA:l_str TYPE string,
    l_str1 TYPE string.
    PARAMETERS matnr type marc-matnr.
    end-of-SELECTION.
    *build the subroutine pool
    APPEND 'PROGRAM subpool.' TO i_tab.
    APPEND `LOAD-OF-PROGRAM.` TO i_tab.
    APPEND `DATA i_tab1 TYPE TABLE OF vbak.`      TO i_tab.
    APPEND `DATA l_rows TYPE i.`      TO i_tab.
    APPEND `select * into table i_tab1 from vbak.` To i_tab.
    append 'DESCRIBE TABLE i_tab1 LINES l_rows.' to i_tab.
    append 'Write :  l_rows .' to i_tab.
    GENERATE SUBROUTINE POOL i_tab NAME l_PROG
    MESSAGE v_mess
    SHORTDUMP-ID l_sid.
    IF sy-subrc = 0.
    PERFORM ('LOOP_AT_TAB') IN PROGRAM (l_PROG) IF FOUND.
    ELSEIF sy-subrc = 4.
    MESSAGE v_mess TYPE 'I'.
    ELSEIF sy-subrc = 8.
    MESSAGE l_sid TYPE 'I'.
    ENDIF.
    Edited by: vijay wankhade on Jan 1, 2009 5:34 PM
    Edited by: vijay wankhade on Jan 1, 2009 5:34 PM

  • Checking for running applications on remote machines

    I am trying to check for application running on remote machine - it could be LV or some other application.
    I have Server and Client applications (developed in LV) running as .exe on separate computers. Only LV-Runtime is installed. They exchange data via Datasockets. The problem I have is that if Client is launched before the server the (Client) takes ownership of certain sockets which causes Server to fail on startup. All the remote Clients have to be shotdown before Server can be started again properly.
    I was wondering if anyone has run into a similar problem.

    Hi Slawek,
    I would suggest using Remote Front Panels in LabVIEW. Remote front panels allow you to view and control a VI front panel remotely, either from within LabVIEW or from within a web browser, by connecting to the LabVIEW built-in web server. There is a tutorial Developer Zone: Remote Panels in LabVIEW -- Distributed Application Development that will provide you with more information.
    Also, there are example programs in LabVIEW that walk you through how to programmatically connect to a remote front panel. Go to LabVIEW >> Help >> Find Examples >> Networking >> General >> RemotePanelMethods-Client/Server.vi.
    Hope
    this helps and good luck!
    Kileen C.
    Applications Engineer
    National Instruments

  • Unable to connect to WMI (r) on remote machine "SCCMCLIENT03"

    Hi!
    I'm in the process of configuring the XP firewall to support the Client Push installation method that SCCM offers. At the moment I'm quite happy with the result. The SCCM client agents are installed properly on my reference machines.
    To secure that the WMI functionality is up and running I have (prior to the client agent installation) run wbemtest with following parameter (from server to client, and vice versa):
    \\host\root\cimv2
    I successfully contacted that specific namespace on both ends. But when I trace the log I find the following error which still indicates that something is wrong:
    CWmi::Connect(): ConnectServer(Namespace) failed. - 0x8004100e SMS_CLIENT_CONFIG_MANAGER 2009-03-10 11:12:14 1704 (0x06A8)
    ---> Unable to connect to WMI (r) on remote machine "SCCMCLIENT03", error = 0x8004100e. SMS_CLIENT_CONFIG_MANAGER 2009-03-10 11:12:14 1704 (0x06A8)
    Why do I get this? What am I missing here? I got the feeling of WMI functioning the way it should.
    Any hints on this one?
    In an MSDN-article (http://msdn.microsoft.com/en-us/library/aa389286(VS.85).aspx) I read the following lines:
    "If the user account that is on Computer A is not an administrator on Computer B, but the user account has Remote Enable permission on Computer B"
    Those lines are part of an article which describes how to configure Remote administrations properly. For that to work, does the computer account of my Central Site Server has to be part of the local administrators group on every client?
    Regards,
    Fredrik
    CCM.log
    Submitted request successfully SMS_CLIENT_CONFIG_MANAGER 2009-03-10 11:12:13 2408 (0x0968)
    Getting a new request from queue "Incoming" after 100 millisecond delay. SMS_CLIENT_CONFIG_MANAGER 2009-03-10 11:12:13 2408 (0x0968)
    ======>Begin Processing request: "TI11WDUE", machine name: "SCCMCLIENT03" SMS_CLIENT_CONFIG_MANAGER 2009-03-10 11:12:13 1704 (0x06A8)
    ---> Trying each entry in the SMS Client Remote Installation account list SMS_CLIENT_CONFIG_MANAGER 2009-03-10 11:12:13 1704 (0x06A8)
    ---> Attempting to connect to administrative share '\\SCCMCLIENT03.spost.nu\admin$' using account 'spost.nu\SA-SCCM_ClientPush' SMS_CLIENT_CONFIG_MANAGER 2009-03-10 11:12:13 1704 (0x06A8)
    Received request: "HPS6133J" for machine name: "SCCMCLIENT02" on queue: "Incoming". SMS_CLIENT_CONFIG_MANAGER 2009-03-10 11:12:13 2408 (0x0968)
    Stored request "HPS6133J", machine name "SCCMCLIENT02", in queue "Processing". SMS_CLIENT_CONFIG_MANAGER 2009-03-10 11:12:13 2408 (0x0968)
    ---> Connected to administrative share on machine SCCMCLIENT03.spost.nu using account 'spost.nu\SA-SCCM_ClientPush' SMS_CLIENT_CONFIG_MANAGER 2009-03-10 11:12:13 1704 (0x06A8)
    ---> Attempting to make IPC connection to share <\\SCCMCLIENT03.spost.nu\IPC$> SMS_CLIENT_CONFIG_MANAGER 2009-03-10 11:12:13 1704 (0x06A8)
    ---> Searching for SMSClientInstall.* under '\\SCCMCLIENT03.spost.nu\admin$\' SMS_CLIENT_CONFIG_MANAGER 2009-03-10 11:12:13 1704 (0x06A8)
    ---> System OS version string "5.1.2600" converted to 5,10 SMS_CLIENT_CONFIG_MANAGER 2009-03-10 11:12:14 1704 (0x06A8)
    ---> Service Pack version from machine "SCCMCLIENT03" is 3 SMS_CLIENT_CONFIG_MANAGER 2009-03-10 11:12:14 1704 (0x06A8)
    CWmi::Connect(): ConnectServer(Namespace) failed. - 0x8004100e SMS_CLIENT_CONFIG_MANAGER 2009-03-10 11:12:14 1704 (0x06A8)
    ---> Unable to connect to WMI (r) on remote machine "SCCMCLIENT03", error = 0x8004100e. SMS_CLIENT_CONFIG_MANAGER 2009-03-10 11:12:14 1704 (0x06A8)
    ---> Creating \ VerifyingCopying exsistance of destination directory \\SCCMCLIENT03\admin$\system32\ccmsetup. SMS_CLIENT_CONFIG_MANAGER 2009-03-10 11:12:14 1704 (0x06A8)
    ---> Copying client files to \\SCCMCLIENT03\admin$\system32\ccmsetup. SMS_CLIENT_CONFIG_MANAGER 2009-03-10 11:12:14 1704 (0x06A8)
    ---> Copying file "d:\Program Files\Microsoft Configuration Manager\bin\I386\MobileClient.tcf" to "\\SCCMCLIENT03\admin$\system32\ccmsetup\MobileClient.tcf" SMS_CLIENT_CONFIG_MANAGER 2009-03-10 11:12:14 1704 (0x06A8)
    ---> Copying file "d:\Program Files\Microsoft Configuration Manager\bin\I386\ccmsetup.exe" to "\\SCCMCLIENT03\admin$\system32\ccmsetup\ccmsetup.exe" SMS_CLIENT_CONFIG_MANAGER 2009-03-10 11:12:14 1704 (0x06A8)
    ---> Created service "ccmsetup" on machine "SCCMCLIENT03". SMS_CLIENT_CONFIG_MANAGER 2009-03-10 11:12:15 1704 (0x06A8)
    ----- Started a new CCR processing thread. Thread ID is 0xc6c. There are now 2 processing threads SMS_CLIENT_CONFIG_MANAGER 2009-03-10 11:12:15 2408 (0x0968)
    Submitted request successfully SMS_CLIENT_CONFIG_MANAGER 2009-03-10 11:12:15 2408 (0x0968)
    Getting a new request from queue "Incoming" after 100 millisecond delay. SMS_CLIENT_CONFIG_MANAGER 2009-03-10 11:12:15 2408 (0x0968)
    Found CCR "yb2xbq0a.CCR" in queue "Incoming". SMS_CLIENT_CONFIG_MANAGER 2009-03-10 11:12:15 2408 (0x0968)
    ======>Begin Processing request: "HPS6133J", machine name: "SCCMCLIENT02" SMS_CLIENT_CONFIG_MANAGER 2009-03-10 11:12:15 3180 (0x0C6C)
    ---> Trying the 'best-shot' account which worked for previous CCRs (index = 0x0) SMS_CLIENT_CONFIG_MANAGER 2009-03-10 11:12:15 3180 (0x0C6C)
    ---> Attempting to connect to administrative share '\\SCCMCLIENT02.spost.nu\admin$' using account 'spost.nu\SA-SCCM_ClientPush' SMS_CLIENT_CONFIG_MANAGER 2009-03-10 11:12:15 3180 (0x0C6C)
    Received request: "YB2XBQ0A" for machine name: "SCCMCLIENT01" on queue: "Incoming". SMS_CLIENT_CONFIG_MANAGER 2009-03-10 11:12:15 2408 (0x0968)
    Stored request "YB2XBQ0A", machine name "SCCMCLIENT01", in queue "Processing". SMS_CLIENT_CONFIG_MANAGER 2009-03-10 11:12:15 2408 (0x0968)
    ---> Started service "ccmsetup" on machine "SCCMCLIENT03". SMS_CLIENT_CONFIG_MANAGER 2009-03-10 11:12:16 1704 (0x06A8)
    ---> Deleting SMS Client Install Lock File '\\SCCMCLIENT03.spost.nu\admin$\SMSClientInstall.S01' SMS_CLIENT_CONFIG_MANAGER 2009-03-10 11:12:16 1704 (0x06A8)
    ---> Completed request "TI11WDUE", machine name "SCCMCLIENT03". SMS_CLIENT_CONFIG_MANAGER 2009-03-10 11:12:16 1704 (0x06A8)
    Deleted request "TI11WDUE", machine name "SCCMCLIENT03" SMS_CLIENT_CONFIG_MANAGER 2009-03-10 11:12:16 1704 (0x06A8)
    <======End request: "TI11WDUE", machine name: "SCCMCLIENT03". SMS_CLIENT_CONFIG_MANAGER 2009-03-10 11:12:16 1704 (0x06A8)
    ======>Begin Processing request: "YB2XBQ0A", machine name: "SCCMCLIENT01" SMS_CLIENT_CONFIG_MANAGER 2009-03-10 11:12:16 1704 (0x06A8)
    ---> Trying the 'best-shot' account which worked for previous CCRs (index = 0x0) SMS_CLIENT_CONFIG_MANAGER 2009-03-10 11:12:16 1704 (0x06A8)
    ---> Attempting to connect to administrative share '\\SCCMCLIENT01.spost.nu\admin$' using account 'spost.nu\SA-SCCM_ClientPush' SMS_CLIENT_CONFIG_MANAGER 2009-03-10 11:12:16 1704 (0x06A8)
    Submitted request successfully SMS_CLIENT_CONFIG_MANAGER 2009-03-10 11:12:17 2408 (0x0968)

    Here is what is in my ccmsetup.log
    <![LOG[GetSSLCertificateContext failed with error 0x87d00280]LOG]!><time="16:19:22.341+240" date="04-04-2012" component="ccmsetup" context="" type="3" thread="984" file="ccmsetup.cpp:5356">
    <![LOG[GetHttpRequestObjects failed for verb: 'GET', url: 'HTTPS://TEST-SCCM.copt.local/CCM_Client/ccmsetup.cab']LOG]!><time="16:19:22.341+240" date="04-04-2012" component="ccmsetup" context="" type="3" thread="984" file="httphelper.cpp:942">
    <![LOG[DownloadFileByWinHTTP failed with error 0x87d00280]LOG]!><time="16:19:22.341+240" date="04-04-2012" component="ccmsetup" context="" type="3" thread="984" file="httphelper.cpp:1076">
    <![LOG[CcmSetup failed with error code 0x87d00280]LOG]!><time="16:19:22.341+240" date="04-04-2012" component="ccmsetup" context="" type="1" thread="3496" file="ccmsetup.cpp:9454">
    And in my ccm.log:
    ---> Attempting to connect to administrative share '\\SCCMCLIENTTEST1\admin$' using account 'corporate\sccmadmin'~  $$<SMS_CLIENT_CONFIG_MANAGER><04-04-2012 16:09:19.338+240><thread=2708 (0xA94)>
    ---> The 'best-shot' account has now succeeded 1 times and failed 0 times.  $$<SMS_CLIENT_CONFIG_MANAGER><04-04-2012 16:09:19.400+240><thread=2708 (0xA94)>
    ---> Connected to administrative share on machine SCCMCLIENTTEST1 using account 'corporate\sccmadmin'~  $$<SMS_CLIENT_CONFIG_MANAGER><04-04-2012 16:09:19.400+240><thread=2708 (0xA94)>
    ---> Attempting to make IPC connection to share <\\SCCMCLIENTTEST1\IPC$> ~  $$<SMS_CLIENT_CONFIG_MANAGER><04-04-2012 16:09:19.400+240><thread=2708 (0xA94)>
    ---> Searching for SMSClientInstall.* under '\\SCCMCLIENTTEST1\admin$\'~  $$<SMS_CLIENT_CONFIG_MANAGER><04-04-2012 16:09:19.405+240><thread=2708 (0xA94)>
    ---> System OS version string "6.1.7601" converted to 6.10  $$<SMS_CLIENT_CONFIG_MANAGER><04-04-2012 16:09:19.778+240><thread=2708 (0xA94)>
    CWmi::Connect(): ConnectServer(Namespace) failed. - 0x8004100e~  $$<SMS_CLIENT_CONFIG_MANAGER><04-04-2012 16:09:19.826+240><thread=2708 (0xA94)>
    ---> Unable to connect to WMI (root\ccm) on remote machine "SCCMCLIENTTEST1", error = 0x8004100e

  • IBM DB2 9.7 Express-C instalation on remote machine

    Hi guys,
    I'm trying to install IBM DB2 9.7 Express-C on a remote machine that does not have xorg installed.
    I've managed to enable forwarding X over ssh (tested on xeyes), but when i start db2setup, it doesn't do anything.
    Output in console is this:
    user@remotemachine$ ./db2setup
    DBI1190I db2setup is preparing the DB2 Setup wizard which will guide
    you through the program setup process. Please wait.
    DBI1160I Non-root install is being performed.
    If i login with root then the output is basically same:
    user@remotemachine$./db2setup
    DBI1190I db2setup is preparing the DB2 Setup wizard which will guide
    you through the program setup process. Please wait.
    I'm running latest arch with xfce4 with slim for starting DE.
    Can anybody give me some poiners on how to install this?

    spendzo wrote:Can anyone comment if this is ok...?
    Yeah, it's great! I've tested it for you and I'm keeping it.:D Made some small adjustments. Thanks!
    #!/bin/bash
    # /etc/rc.d/db2d
    # Run-level Startup script for the DB2 Databsse
    export DB_USER=db2inst1
    if [ -f /home/db2inst1/sqllib/db2profile ]; then
    . /home/db2inst1/sqllib/db2profile
    fi
    case "$1" in
    start)
    echo "" >> /var/log/db2.log
    echo "----------------------------------------------------" >> /var/log/db2.log
    echo "----------------------------------------------------" >> /var/log/db2.log
    echo "Starting DB2 Database: " >> /var/log/db2.log
    echo "----------------------------------------------------" >> /var/log/db2.log
    date +"! %T %a %D : Starting DB2 Database" >> /var/log/db2.log
    echo "----------------------------------------------------" >> /var/log/db2.log
    echo "Starting DB2 Database: " >> /var/log/db2.log
    su $DB_USER -c "$DB2DIR/bin/db2 db2start" >> /var/log/db2.log
    su $DB_USER -c "$DB2DIR/bin/db2 activate db sample" >> /var/log/db2.log
    echo "Done." >> /var/log/db2.log
    echo "" >> /var/log/db2.log
    echo "----------------------------------------------------" >> /var/log/db2.log
    date +"! %T %a %D : Start completed." >> /var/log/db2.log
    echo "----------------------------------------------------" >> /var/log/db2.log
    touch /var/lock/db2d
    echo "OK"
    stop)
    echo "Shutting Down DB2 Database:" >> /var/log/db2.log
    echo "----------------------------------------------------" >> /var/log/db2.log
    date +"! %T %a %D : Shutting Down DB2 Databases" >> /var/log/db2.log
    echo "----------------------------------------------------" >> /var/log/db2.log
    echo "Shutting Down DB2 Database: " >> /var/log/db2.log
    su $DB_USER -c "$DB2DIR/bin/db2 deactivate db sample" >> /var/log/db2.log
    su $DB_USER -c "$DB2DIR/bin/db2 db2stop force" >> /var/log/db2.log
    echo "Done." >> /var/log/db2.log
    echo "" >> /var/log/db2.log
    echo "----------------------------------------------------" >> /var/log/db2.log
    date +"! %T %a %D : Shutdown completed." >> /var/log/db2.log
    echo "----------------------------------------------------" >> /var/log/db2.log
    rm -f /var/lock/db2d
    echo "OK"
    reload|restart)
    echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" >> /var/log/db2.log
    echo "DB2 Restart Initiated... " >> /var/log/db2.log
    echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" >> /var/log/db2.log
    $0 stop
    $0 start
    echo "Usage: `basename $0` start|stop|restart|reload"
    exit 1
    esac
    exit 0

  • How to view the open ports of a remote machine?

    is ther anyway for java to view the open ports of a remote machine.
    i am developing a remote desktop sharing program...i remotely control a user's machine on LAN. so i sometimes need to launch a website,launch an application, or give a message to the user on the remote machine from
    my console.
    so please help me in providing the java code to implement the above features.

    What you are asking, it the first step towards the dark art. But then, why make a tool for yourself, I am sure there would be plenty available.
    Ironluca

  • Uninstalling programs and related components

    How do I uninstall programs and components from this machine. It was given to me with all the original owners stuff on it.

    Uninstalling Software: The Basics
    Most OS X applications are completely self-contained "packages" that can be uninstalled by simply dragging the application to the Trash. Applications may create preference files that are stored in the /Home/Library/Preferences/ folder. Although they do nothing once you delete the associated application, they do take up some disk space. If you want you can look for them in the above location and delete them, too.
    Some applications may install an uninstaller program that can be used to remove the application. In some cases the uninstaller may be part of the application's installer, and is invoked by clicking on a Customize button that will appear during the install process.
    Some applications may install components in the /Home/Library/Applications Support/ folder. You can also check there to see if the application has created a folder. You can also delete the folder that's in the Applications Support folder. Again, they don't do anything but take up disk space once the application is trashed.
    Some applications may install a startupitem or a Log In item. Startupitems are usually installed in the /Library/StartupItems/ folder and less often in the /Home/Library/StartupItems/ folder. Log In Items are set in the Accounts preferences. Open System Preferences, click on the Accounts icon, then click on the LogIn Items tab. Locate the item in the list for the application you want to remove and click on the "-" button to delete it from the list.
    Some software use startup daemons or agents that are a new feature of the OS. Look for them in /Library/LaunchAgents/ and /Library/LaunchDaemons/ or in /Home/Library/LaunchAgents/.
    If an application installs any other files the best way to track them down is to do a Finder search using the application name or the developer name as the search term. Unfortunately Spotlight will not look in certain folders by default. You can modify Spotlight's behavior or use a third-party search utility, Easy Find, instead. Download Easy Find at VersionTracker or MacUpdate.
    Some applications install a receipt in the /Library/Receipts/ folder. Usually with the same name as the program or the developer. The item generally has a ".pkg" extension. Be sure you also delete this item as some programs use it to determine if it's already installed.
    There are many utilities that can uninstall applications. Here is a selection:
    AppZapper
    Automaton
    Hazel
    CleanApp
    Yank
    SuperPop
    Uninstaller
    Spring Cleaning
    Look for them at VersionTracker or MacUpdate.
    For more information visit The XLab FAQs and read the FAQ on removing software.

Maybe you are looking for

  • Firmware upgrade correct steps?

    We are carrying out a firmware upgrade on our 9509's from 3.3(1c) to 5.2(2) and I want to know if the steps below are correct? Check hosts for paths to both Fabric's. Take a backup of the config for all the switches. On Fabric A upgrade switch 1 to 4

  • The creditors report is not matching with the G/L account

    Hi Gurus, The creditors report is not matching with the G/L account ,where i can go and find out the differences ? Please give me advice, I will assign points Thanks&Regards, Kumar

  • "itunes has encountered a security problem" and shuts down

    when I download tv shows, I get this message intermittently. I then lose the show I purchased, and itunes shuts down (even though itunes took my money for the show). When I have itunes check for purchased music, it says I have downloaded all purchase

  • How to switch between two databases

    Hi, I have a requiremet of using two databases for one of my projects. one which have login related data and second database is having the actual client data. my question is " how can i configure single java application to switch from one database to

  • IDoc received with status 8

    Hi Experts, Please find the below Error now i am getting. No data available Diagnosis The data request was a full update. In this case, the corresponding table in the source system does not contain any data. System Response Info IDoc received with st