Uninstall IE10 script or other remote command

Hi,
Please note that I originally submitted this under Internet Explorer category and was told to move it here.
Obviously on a localised, single PC, to uninstall IE10 and revert to IE8 you would simply go into Control Panel, Programs & Features, View Installed Updates, find IE10 and uninstall.
However, planning a mass rollout like I am, I need to be able to uninstall IE10 on multiple PC's at once. In a disastrous scenario, I would want to uninstall it from all PC's as soon as possible (up to 300).
I did some Google-ing and found a couple of answers however for whatever reason, the command I found seems not to work if a non-administrative account is logged on even if I instruct the script to run as local system or a specific admin account. The command
does work on a local PC if you first run command prompt as an administrator then enter the command, but as mentioned at the beginning of this question, I need to be able to do it remotely and not manually.
FYI the current answer I found is to run this script:
FORFILES /P %WINDIR%\servicing\Packages /M Microsoft-Windows-InternetExplorer-*10.*.mum /c "cmd /c echo Uninstalling package @fname && start /w pkgmgr /up:@fname /quiet"
Does anyone have a cleaner, more guaranteed way to uninstall IE10?
Thanks.

I have used the below script and it worked quite well, but it was on my work station.
FORFILES /P %WINDIR%\servicing\Packages /M Microsoft-Windows-InternetExplorer-*10.*.mum /c "cmd /c echo Uninstalling package @fname && start /w pkgmgr /up:@fname /norestart"
Is there some reason why you aren't going to update your image and remove IE10 before you deploy it to 300 systems?

Similar Messages

  • Scripting Question for Remote & Command list

    There must be some info on the commands / functions allowed for DVDSP scripting. For instance, how does one know ran = random. div = divide. Can you please point me in that direction. Note: already looked at the 2 tutorial sites suggested and the book authors mentioned, and while those were helpful looking for a comprehensive list, or at least some list like so many of my other programming books contain.
    More advanced question: Does anyone know the scripting conversion for the remote control. For example
    if remote = play jump end....
    or
    if controller = next jump start...
    Not sure what the code would look like, but it must be fairly simple, and someone must know the answer:)
    Thanks!!!

    No probs. If you're more specific we could maybe help more. I mean you could write a script and then make the button target that script, or make all buttons target a script and make decisions based on which button was pressed... but there isn't always much point cause you dont have the interactivity level you do with Flash/Director,
    -jake
    P.S Thanks for coming back to the thread. To help the new system, when you feel the question has been answered can you mark it answered/helpful etc, cheers.

  • Communication between DTrace script and other commands

    Hello,
    Let's say you have a DTrace script running all time on your system. It monitors something ( some parameters, system calls, etc..).
    If some condition is met (threshold exceeded for example) you would like a script / command to be called.
    One way to do it would be: pipe the DTrace output to a "controller" script which checks it's input for some patterns (commands). The script could run appropriate commands when a pattern is found in input.
    Is there any other more elegant/appropriate way ?
    Thank you,
    Vlad Grama.

    First of all, from Alan's post :
    "You may want to be a bit careful about how you hand out those privileges, as you probably don't want users calling things like panic()."
    Even with PRIV_DTRACE_KERNEL, a user cannot make destructive action calls that would require the '-w' command line option. But, they do have good visibility inside the kernel which may not necessarily be a good thing.
    Secondly, from Vlad:
    "You may go to a site and see some useful D scripts that would require PRIV_DTRACE_KERNEL.
    You want to be sure that however bad the script content may be (willingly or not) you can run it on a production system without having to fear anything. "
    I find it hard to believe that anyone will run completely untrusted content downloaded from a random site on the Internet on a production machine without testing or validating it first. If so, then DTrace is by far the least of your concerns. Granted, there could be times when a script looks like it may help you solve a problem, but D is so straightforward that even a quick glance will tell you if anything bad could happen (especially given that D already provides quite a bit protection for you by preventing accidental badness).
    That being said, perhaps system() could get some sort of special treatment in a D stability report. It seems like a reasonable place for it since if you call system(), DTrace has no way to validate that the targer executable exists, is runnable, and is stable for the current platform. So perhaps, if system() (and eventually some sort of similar interfaces) exist in a D script, then a stability report will flag their use for you - this saves having to grep or similar. Also, then you could execute "untrusted" D with the appropriate '-x' flag to prevent their use all together. Seems appropriate to me (consider it a formal RFE).
    So as D scripts become more popular to the rest of the world, I assume we will see some digital signatures showing up for posted recipes. You always check the signature of Apache when you download it so a quick check when you get a new cookbook seems reasonable.
    Thanks,
    Jarod

  • Processing data for a remote command failed with the following error message: Error occurred during the Kerberos reponse.

    Hi!
    We have 5 Exchange 2013 servers and when I’m trying to run a script that includes the cmd-let Get-MessageTrackinglog with StartDate = the first of the month and with EndDate = the end of the month I get the following error message after
    a couple of hours. The script is run on the server SERVER01 and goes through the Message Tracking logs of all Exchange servers. I have tried the script on other servers and get the same result.
    Processing data for a remote command failed with the following error message: Error occurred during the Kerberos reponse.
    [Server=SERVER01, TimeStamp = 918/2014 19:32:34]
    For more information, see the about_Remote_Troubleshooting Help topic.
        + CategoryInfo         
    : OperationStopped: (server01.domain.com:String) [], PSRemotingTransportException
        + FullyQualifiedErrorId : JobFailure
        + PSComputerName       
    : server01.domain.com
    I have gone through “about_Remote_Troubleshooting Help topic”, but can’t find anything related to my issue. There is nothing in the Application or the Windows PowerShell log either.
    /Henrik

    Hi Henado 
    Check the time on your Exchange server(s) relative to the DCs and ensure they are in correct sync
    Use another account which is assigned the Organization Management permission and log to to the server run the command in shell and see the results
    Run 
    Add-PSSnapin -Name Microsoft.Exchange.Management.PowerShell.E2010
    Set-Adserversettings -ViewEntireForest $True and then run message tracking command and see the results
    If none of the above helps you may need to remove and re-install the WinRM and see the results
    Good Luck :)
    Remember to mark as helpful if you find my contribution useful or as an answer if it does answer your question.That will encourage me - and others - to take time out to help you Check out my latest blog posts on http://exchangequery.com

  • App to run remote commands

    I am building an app to run remote commands. A server app with tcp/ip to listen for connections, validate user, then let user send commands(from a predefined list) that will fire the Runtime rt = Runtime.getRuntime() , the Process proc = rt.exec(cmd from cmd list)
    Any thoughts on this? Better method or practice?
    Can you get static of a proc whil running? I wnat each call to be a new proc, so I guess I could vector them after creation?
    M

    strictly network internal ops. Run exe/bat/com on remote server. The commands will be contolled by the admin, so we will be limited. I see the server running as a Win2k service so the permission for it to execute commands could be limited to the user that is the 'log on as' for the service.(is this a correct assumption?)
    We have tried rcmd, windows scripting, etc...but they all require admin privs on the target machine and the admins won't allow this.
    My thought was to build a command object to extend into commands we are allowed to run. you use a gui to send encrypted command name to server, it decrpyts and runs the appropriate cmd object, firing runtime to execute a predefined cmd string held in the cmd object and permissions based on service 'log on As' user.

  • Executing PowerShell scripts on a remote host

    I need to execute a PopwerShell script on a remote host (i.e. to add or remove Windows features).
    The script uses some Powershell commands to be executed on the remote host (i.e. to add or remove Windows features).
    I made part of the job but I am unable to go on...
    After enabling PSremoting on the target host I run a script with the following commands:
    winrm s winrm/config/client '@{TrustedHosts="remoteserver"}'
    $mysession = new-pssession -computername remoteserver -credential remotedomain\remoteuser
    If I enter the above lines interactiverly I can go on interactively by entering:
    Enter-PSSession $mysession
    and execute all the PowerShell commands I need.
    My problem is that everything must be part of a script.
    I attempted using "Invoke-command" with no success: maybe there is a syntax error or it is not the right command to be used in a script.
    Can anybody please provede a sample of a script containing PowerShell commands to be executed on the remore host?
    Regards
    marius

    You're on the right track.  You can use Invoke-Command with the same credentials (or PSSession from New-PSSession, if you prefer) to execute code remotely.  The tricky thing, unfortunately, will be the credentials.  Right now you're being
    prompted to enter a username and password, but in an unattended script, you'd need to have these credentials saved somehow.  That can open up a can of worms, depending on your requirements.
    The simplest way to do this is to hard-code the password in your script.  No one on the planet recomments actually doing this, because well, you've just exposed an admin password to the world.
    The safest way to do this is to log on as the same account that will be used to run the script, on the same computer where the script will be run, and enter the credentials once manually, and export them to an XML file.  With this approach, the credentials
    in the XML file will be encrypted with the Windows Data Protection API (DPAPI), and the keys necessary to decrypt that data are only available to the current user, on the current computer.
    If you need to be able to securely save the data and have it read by other users, or on other computers, things start to get more complicated.
    Here's an example of the DPAPI approach:
    # to create the credential file
    $cred = Get-Credential
    $cred | Export-Clixml -Path c:\myEncryptedCreds.xml
    # to use it later (on the same computer, by the same user)
    $cred = Import-Clixml -Path c:\myEncryptedCreds.xml
    Invoke-Command -ComputerName SomeComputer -Credential $cred -ScriptBlock {
    Do-Something

  • Error occurred in deployment step 'Uninstall app for SharePoint': The remote server returned an error: (502) Bad Gateway.

    Installed SP 2013 Foundation in my Hyper-V machine
    Created and done all the steps mentioned here http://blogs.msdn.com/b/shariq/archive/2013/05/07/how-to-set-up-high-trust-apps-for-sharepoint-2013-amp-troubleshooting-tips.aspx && http://msdn.microsoft.com/en-us/library/office/fp179901%28v=office.15%29.aspx
    for self signed certificate
    copied those two certificates in my local machine(base machine) D drive
    (D:\Cert)
    Both VM and base machine are in same domain
    Installed VS 2013 in my base machine and create a Provided hosted app with the copied certificates, (For creation i followed the above mentioned URL)
    Just created and hit F5 to run in my base machine, but getting this error
    Error occurred in deployment step 'Uninstall app for SharePoint': The remote server returned an error: (502) Bad Gateway.
    Please help me to resolve this issue, trying to figure out from last 2 days
    Thanks in Advance
    Arun

    Hi Harminder,
    This happens because an app has already been deployed and you are deploying it again using the same version.
    Resolution:
    Open the AppManifest.xml file and change the version.
    Vivek Jagga - MCTS SharePoint
    SharePointExcellence

  • Satellite A500-14L: Supervisor Password Utility & Remote Command Manager

    Hi,
    I just installed Windows 7 Home Premium *x64* on my A500-14L (PSAM3E-02N008FR) and all went smooth, even the TVAP and flashcards install. Unfortunately, I have a problem with the following utilities (latest versions found on Toshiba website) :
    - Supervisor Password Utility
    - Remote Command Manager
    I installed both of them but I can't find them in my start menu!
    There is no install error but it's like they are not installed at all.
    Can someone please help me on this matter ? Thanks in advance.
    Aramys

    Hi
    For Supervisor Password Utility I recommend checking the Toshiba Assist.
    In Secure you should see the Supervisor Password Utility.
    The Remote Control Manager improves the support for a remote control on your computer.
    Im not sure if you could access this application but if yes then you should check it in control panel.

  • Remote command execution via ssh on ips sensor...

    I am attempting to execute a command remotely via ssh so that I can collect the information on another host.
    ex: ssh -t username@sensor show tech-support
    Instead of the output I expect, I receive an error message: Error: Received invalid command line argument.
    Is this type of remote command execution supported by the sensor?
    Kevin Riggins

    Not true, i already created scritp to automaticly backup the IPS

  • Error sqlldr with plink in remote command

    Hi all,
    My OS is Windows, I tried to launch a sqlldr remote command with plink (putty) :
    Command dos:
    "plink host -l oracle -pw oracle sqlldr -userid schema/pwd -control /tmp/test.ctl"
    I had this error : "ksh: sqlldr: not found"
    Setting of server :
    $ORACLE_HOME=/app/local/oracle/product/10.2.0/Db_1
    When I try directly "sqlldr -userid schema/pwd -control /tmp/test.ctl" with putty on the server it's working.
    Please somebody could explain me how can I do it with remote command line ?
    Thanks

    Ok, results below :
    echo $ORACLE_HOME
    /app/local/oracle/product/10.2.0/Db_1
    which sqlldr
    /app/local/oracle/product/10.2.0/Db_1/bin/sqlldrSo I think it's ok for these settings, what is the issue ?
    Thanks

  • How to create script that run sudo-command, via automator?

    Hi
    I'd want to create script to automate one command I need quite often. I just can't get this to work.
    I'm not using english OS, but I think this is what I do. In automator I choose Utilities -> Run script
    Here's the script I try to run:
    sudo "/Library/Application Support/VMware Fusion/boot.sh --restart"
    I found some tip to do it like this:
    do shell script "sudo /Library/Application Support/VMware Fusion/boot.sh --restart password "pass" with administrator privileges
    Where pass is my admin password.
    This does not work, either.
    Could anybody help me on this?
    Thanks...
    Tomi Toivonen
    Message was edited by: Tomi

    This is not working. What's wrong?
    What's wrong is that the '--restart' is a parameter for boot.sh, and therefore needs to be included within the quotes.
    Additionally, the shell uses spaces to divide parameters, so the spaces in the command will make it appear as multiple commands - '/Library/Application', 'Support/VMware' and 'Fusion/boot.sh'. You need to escape them using a backslash:
    <pre class=command>do shell script "/Library/Application\ Support/VMware\ Fusion/boot.sh --restart" password "pass" with administrator privileges</pre>
    If it's outside of the quotes it would be interpreted as a parameter to 'do shell script' and it won't know what to do with that.

  • How to run TestStand script on a remote system from a TestStand script?

    I would like to run a test stand script on a remote system from within another TestStand script. How can this be done?

    Hi EyaID,
    I believe you are looking for the Remote Sequence Call feature. Look at this last paragraph in this knowledge base and section 5-18 of the TestStand Reference Manual for more help:
    How can I Call an External Sequence with Parameters when the Sequence is Located on Another Computer...
    Regards,

  • Need comparison with other Remote products

    Hello everyone,
    I need to advise my supervisor why we should use ARD over something else like Timbuktu.
    I've got several hundred users on internal and external networks.
    Anyone with knowledge of both products or other remote software ?
    Mitch

    I've been very busy and haven't been here in a while, myself. Maybe others are busy, too. Patience is a virtue!
    I have been a long time user of Timbuktu for Mac and Windows but am relatively new to ARD (couple months). My experience with Timbuktu, however, does not include the latest version, but up through v. 7.04.
    Both utilities do things the others don't. For one-on-one support, I prefer Timbuktu, because it has the ability to easily transfer files from your computer to the host. You can do it with ARD, but not as point/click seamlessly. You can also open up a voice chat with TB2, so it is good for teaching people how to do things. TB2 is comparitively expensive, though-- you can get an unlimited client ARD for $499 ($299 educational).
    I manage a lab of eMacs in a school and could not imaging doing it with TB2 after using ARD. Installing updates is a breeze, getting the whole lab or selected computers to sleep, wake up, restart, lock screen, etc. is super easy (not even possible with TB2 to wake a sleeping computer, I think). You can send Terminal-style Unix scripts to all or selected computers, as well, and I am just learning the true power of this.
    The students have a limited account on the computers that I can just leave them to do (destroy) as they please, and with a couple clicks, a new, blank, pristine Student account is pushed out to the lab whenever necessary.
    Viewing select or multiple screens is also super easy to keep an eye on what students are doing.
    In short, they are really completely different animals, TB2 and ARD. I am glad we have them both!

  • Script to open Remote Login in "sharing" not working after move to 10.5

    Under 10.4 I sued the following script to open Remote Login (tick the box). Under 10.5.6 it does not work.
    do shell script "/usr/bin/open /System/Library/PreferencePanes/SharingPref.prefPane"
    activate application "System Preferences"
    tell application "System Events"
    tell process "System Preferences"
    click checkbox 1 of row 6 of table 1 of scroll area 1 of tab group 1 of window "Sharing"
    delay 3
    tell application "System Events"
    quit application "System Preferences"
    end tell
    end tell
    end tell
    I get the following error:
    System Events got an error: Can’t get tab group 1 of window "Sharing" of process "System Preferences". Invalid index.
    Anybody know why?

    give this a spin
    activate application "System Preferences"
    tell application "System Events"
    tell process "System Preferences"
    click button "Sharing" of scroll area 1 of window "System Preferences"
    select scroll area 1 of group 1 of window "Sharing"
    select static text "File Sharing" of row 3 of table 1 of scroll area 1 of group 1 of window "Sharing"
    select checkbox 1 of row 3 of table 1 of scroll area 1 of group 1 of window "Sharing"
    click button "Options…" of splitter group 1 of group 1 of window "Sharing"
    click checkbox "Share files and folders using FTP" of sheet 1 of window "Sharing"
    delay 0.5
    select button 2 of sheet 1 of window "Sharing"
    keystroke return
    delay 0.5
    tell application "System Events"
    quit application "System Preferences"
    end tell
    end tell
    end tell
    -----------------

  • Run script in other computer.

    Hello,
    I have already scenarios with scripts.
    All the script right now locates in the xi server.
    I'm looking for the way to run script in other computer then XI server.
    Thank you
    Elad

    Hi,
    What OS are your servers running ? UX, a rsh-like would be the most obvious solution (or a more secured remote feature, ask your admins about that) ... For windows, I know there is a sysinternal tool that allows you to invoke scripts remotely ...
    Rgds
    Chris

Maybe you are looking for

  • G_SET_GET_ALL_VALUES

    Please can any one tell me how to use the above FM. I want to know what exact value is to be given for SETNR . I am trying to fetch details for account group ie all account numbers assigned at different levels . When i give the name of setid which i

  • CFPOP and digital signatures

    Emails - Exchange 2003 mail server - that use "Digital signatures" do not show any Body text. Either in the "BODY" or in the "TEXTBODY" fields. Are there any work arounds or fixes for this? Thanks,

  • Regarding Line item of MIRO

    Hi all, I am preparing "ENTRY TAX" report. In that report , for one of the columns i have to fetch "POTEXT" field in MIRO transaction. I am not getting in which table  that value will get stored. I did SQL trace too. If anyone could help me, i shall

  • Exports hangs in stored procedures

    hi i am running oracle 8.1.7 on solaris 8 when i am doing the export the export goes fine but when its reaching exporting stored procedures last after the integrity constraints the export is hanging and giving error last terminated with unsuccessfull

  • IIF(ISEMPTY is Filtering out data MDX help

    Hi I am using the following MDX query which brings back the correct result but runs slow With MEMBER [Measures].[Tracker Task Completed] AS Aggregate( Generate (Existing [Date Primary Date].[Year - Month - Date].[Date] {(Linkmember [Date Primary Date