How to set Compatibility mode of an EXE file???

Hi,
I'm in a bit of a pickle, got a problem with an EXE which we need to set to "Windows 2000 Compatibility Mode" using a script.
I need to update an existing .exe file on several hundred computers, and was planning on using Group Policy to run a VBscript on login to change the properties on that .exe file so that its in 2000 compatibility mode.
Can anyone help me knock up a quick vbsript to do this please. I've spent some time looking, but no articles on setting the compatibilty attribute of exe files.

Hi, you can set compatibility mode via the registry for all users under:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers
Create a REG_SZ value under this key with a name of the path to your exe, for example "C:\Apps\Myprog.exe" and then the value will be "WIN2000".
You can script this by running regedit.exe to apply an exported .reg file, or to run reg.exe to create the values by running something like:
REG.EXE ADD HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers /v "C:\Apps\Myprog.exe" /t REG_SZ /d "WIN2000" /f
or you could use StdRegProv, see here.
Hope this helps,
Rob

Similar Messages

  • How to set Compatibility Mode for a single site in ie10

    This question was originally posted on the Answers forum -
    http://answers.microsoft.com/en-us/ie/forum/ie10-windows_7/how-to-set-compatibility-mode-for-a-single-site-in/187152e3-142a-4d96-8d1b-af82ef571eec
    I am having problem with getting ie10 to set ie9 compatibility for a single site (sharepoint.contoso.com).
    When I add this website in Compatibility View Settings (Alt > Tools > Compatibility View Settings > 'Add this Website') it adds the domain 'contoso.com' and not the individual website (sharepoint.contoso.com).
    This cause other sites (www.contoso.com) to be configured to use compatibility mode. Because this is a separate site (different web server) to the site sharepoint.contoso.com (sharepoint 2010 server) we need different compatibility settings.
    Using a different example to explain the issue -
    Microsoft has three websites that are different websites created by different developers written in different programming languages and they only work with certain browsers.
    microsoft.com (Website1 created by Developer1) - compatible with ie8/ie9/ie10
    msdn.microsoft.com (Website2 created by Developer2) - compatible with ie8/ie9
    technet.microsoft.com (Website3 website created by Developer3) - compatible only with ie10
    The only thing the three website share is the URL contains 'microsoft.com'.
    Marking 'msdn.microsoft.com' to run in compatibility mode affects the other 2 websites - mainly technet.microsoft.com which will not work now since it only runs in pure ie10 mode. 
    Should you be able to add an individual site to the compatibility list instead of all sites that have  .microsoft.com in the URL? Am I missing a simple setting in the ie10?
    As a workaround I am using the F12 Developer Tools to set the Browser Mode which temporary sets the compatibility mode. However this is not a nice solution to the end users at our organisation. 

    problem is not solved for non corporate environments...
    You could start your own thread.  Then if you got that answer and it was marked Answered you would have the ability to unmark it.  The OP of this one seems satisfied.  Also note that this is TechNet.  Consumers can get help on Answers
    forums.
    Robert Aldwinckle
    Oh! I wrote it wrong: I should have said: This is not solved for NON-AD environments. No demands what so ever to use Window 7/8 professional in a small corporation or on a big corporation with Island of smaller departments for example offshore.
    The problem is that the thread is not "Answered" by the OP, its is marked answered by a moderator (and same moderator that did the answer) so no way of telling if the OP is satisfied.
    But you are right in the fact that I am almost kidnapping the thread. But a complete answer would benefit all in this case I would presume.
    Regards
    /Aldus

  • How to set to-mode to Fixed Value and give a date in RSDV transaction

    Hi
             I am working in BI7.0 environment. I am deploying HR Reporting Project. I need to load data to HR Info Cube 0PAPA_C02, to do this I need to maintain validity slice (RSDV transaction) for the Info Cube. After first load I need to set "to-mode-'Fixed Value'" and give a date such as 31.12.9999.
            Can anyone please let me know the steps on how to set- to mode to Fixed Value in RSDV.
    Thanks

    Here's the basic steps to follow:
    1) Go to tcode RSDV, enter the InfoCube name (0PAPA_C02) and Execute.
    2) If there is data already in the InfoCube you will get a validity table with default validty dates from 0CALDAY.
    3) Click on the Display/Change button so that you're in change mode and edit the validity date to be 31.12.9999.
    4) In the To-Mode column, set the value to 'F' for fixed.
    5) Put the fixed date value (31.12.9999 in your example) in Fixed to time.
    6) Click on Save.

  • How to set CAM Mode background wallpaper

    Hi forum users,
    Where can i download or find the "xv" application ?
    Thanks.
    # Yours Sincerely,
    # Mohamed Ali Bin Abdullah.
    Anthony Worrall wrote:
    In chapter 10 "Control Access Mode" of the "Sun Ray Server Software 3.1
    Administrator's Guide for the Solaris Operating System"
    http://docs.sun.com/source/819-2384/cam.html
    To Change the Backdrop
    1. Run xv (version 3.10 or later) on any desired image.
    2. Save the file as "XPM". Rename the file from <>.xpm to <>.pm.
    3. Edit the file /opt/SUNWut/kiosk/prototypes/dtsession/Dtwm and change
    the two backdrop lines to the full pathname of the <>.pm file.
    You can also place the <>.pm file in /usr/dt/share/backdrops and then
    refer to it by <> in the Dtwm file.
    -----Original Message-----
    From: [email protected]
    [mailto:[email protected]] On Behalf Of Mohamed Ali Bin
    Abdullah
    Sent: 16 August 2006 13:14
    To: [email protected]
    Subject: [SunRay-Users] How to set CAM Mode background wallpaper
    Importance: High
    Dear SunRay Fourm Users,
    I need help regarding Sun Ray CAM mode background wallpaper settings.
    My objective is that, non-card users( DTUs ) will start the Controlled
    Access Mode. In CAM mode i don't want any application to be launch. I
    want CAM mode background shows only my wallpaper( jpg format ). Users
    with card can access the system( dtlogin ). I have set those policy in
    SunRay Web Administration Console and restart the services.
    My question is, how can i set or configure the CAM mode background to
    show my wallpaper( jpg fornat ) ?
    These are my setup environment information:
    - Sun E220( Sparc )
    - Installed Solaris 10 06/06 OS.
    - Installed latest Solaris 10 recommended patches
    - SunRay Server Software 3.1
    - Installed patch 120879-04
    - 2x SunRay 1
    - 2x SunRay 150
    - 2x SunRay 170
    I would be thankful if anyone can offer me help and guidance.
    Please let me know if you need any more information.
    # Yours Sincerely,
    # Mohamed Ali Bin Abdullah.

    Hi forum users,
    Where can i download or find the "xv" application ?blastwave.org has it for example

  • How to set Update Mode for DSO in BI7.0?

    Hi,
    As you know in bw3.5, in update rules we can set  the update mode for ods as Additive or overwrite functionality.
    But can anybody tell me where are these settings in bi7.0? or
    How to set Update Mode for DSO in BI7.0?
    Thanks and Regrards,
    Harshal

    Dear Harshal,
    GO to the tramsformations of your DSO..
    In the Rule Group..Click on any key Figure..
    this pops u a window..in which u will find  AGGREGATION ..Then u can select Either OVERWRITe or SUMMATION which suites ur requirement..
    Hope this helps u..
    Assign points if helpful..
    Best Regards,
    VVenkat..

  • HT5557 How to set Night mode on Ipad Mini iBooks apps when reading PDF file?

    How to set Night mode in iBooks (ver 3.1) for iPad Mini?

    It's not available within the iBooks app  for PDFs, the closest you can get is to the Invert Colours accessibility option  (though pictures will appear negative) -  you can set Settings > General > Accessbility > Triple-Click Home to 'Invert Colours', which means that you can then use a triple-click of the home button to go to white text on a black background.

  • How to set change mode as default for workbench objects

    Hi experts
    I've always wondered if there is a configuration option in NW BW 7 where it can be set whether double clicking a workbench object will show the maintenance screen for that object in change or display mode (default is display). Because is annoying to have to set edit mode every time one double click a workbench object in the development system, and as it is a development system, it would make sense to have edit mode by default instead of display
    I was thinking that it may be related to the client role, but who knows...
    I appreciate your help
    regards

    Not sure where this can be set...if anywhere.
    But how about this for a workaround: Right click the object in RSA1 and the select Change instead of Display.
    That would save you a click if I counted correctly

  • How To turnoff compatibility mode settings in IE 10

    Hi,
    I have Domain and Forest Functional level is 2008 R2.
    I got a requirement from a project to turnoff IE10 compatibility mode for windows 7.
    Can anyone help me with an ADMS template which I can import to view settings in GPO.
    Regards,
    Deepak

    Hi Deepak,
    To turn off Compatibility View, enable the following setting:
    Computer Configuration\Administrative Templates\Windows Components\Internet Explorer\Compatibility View\Turn off Compatibility View
    Regarding ADMX files for IE 10, if we have installed it on our DC, we don’t need to download it. If not, we can visit the following website to download it.
    Administrative Templates for Windows Internet Explorer 10
    http://www.microsoft.com/en-in/download/details.aspx?id=37009
    Hope it helps.
    Best regards,
    Frank Shen

  • How to set column size in sqlplus.exe ?

    SQL> select * from dba_cons_columns where user='USER1' and table_name='PARENT1';
    OWNER                          CONSTRAINT_NAME
    TABLE_NAME
    COLUMN_NAME
      POSITION
    USER1                          PARENT1_PK
    PARENT1
    COL2
             2
    OWNER                          CONSTRAINT_NAME
    TABLE_NAME
    COLUMN_NAME
      POSITION
    USER1                          PARENT1_PK
    PARENT1
    COL1
             1doesn't it seems bit ugly to see these data.Why length of columns is so long ?please tell how to set the length of columns and other parameters so that data that is displayed should come out in screen in a well managed and beautiful way.
    Like this:
    OWNER     CONSTRAINT_NAME     TABLE_NAME       COLUMN_NAME   POSITION
    USER1        PARENT1_PK              PARENT1             COL2                  2
    USER1        PARENT1_PK              PARENT1             COL1                  1I have written this by hand. How to get display in sqlplus.exe ?

    This command sets column size for all forthcoming commands. Suppose there is select command for different columns, and i want to set different size for different columns. e.g.,select name,address,zone from table1;
    How can i set column size for name to (say) 20 char, address to 30 char and zone to 3 char ?
    You need to do it in some sort of sql script which would set the column formatting before the query would start and then would clear the formatting after the query gets finished. See an example below,
    SQL> column ename format a20 heading emp_name
    SQL> select ename from emp
      2  ;
    emp_name
    SMITH
    ALLEN
    WARD
    JONES
    MARTIN
    BLAKE
    CLARK
    SCOTT
    KING
    TURNER
    ADAMS
    emp_name
    JAMES
    FORD
    MILLER
    14 rows selected.
    SQL> column ename clear
    SQL> select ename from emp;
    ENAME
    SMITH
    ALLEN
    WARD
    JONES
    MARTIN
    BLAKE
    CLARK
    SCOTT
    KING
    TURNER
    ADAMS
    ENAME
    JAMES
    FORD
    MILLER
    14 rows selected.
    SQL>So likehtis you have to format all the columns on individual lines and then clear the fomattings of each once th query isdone.
    HTH
    Aman....

  • How to get compatibility mode or notify ff browser of HTML4

    I manage an old but large and constantly changing commercial website. The site was originally done in HTML2 and has long been at HTML4, with no plans yet to move to HTML5, which would break huge amounts of code using <font> tags, etc.
    I use <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd"> at the top of the files, and it works fine with the latest Explorer in compatibility mode, but less well with other browsers, such as FF, where font sizes and colors, etc. are glitching.
    Is there a way to force FF into the equivalent of IE's compatibility mode? Or to tell FF in the header to function as an HTML4 browser?

    What does the validator say about your site's markup and CSS?
    * http://validator.w3.org
    * http://jigsaw.w3.org/css-validator/
    You can trigger Quirks Mode rendering by omitting the DOCTYPE.
    * https://developer.mozilla.org/docs/Quirks_Mode_and_Standards_Mode
    You really shouldn't have any issues "upgrading" to HTML5 if you don't use antiquated presentation tags like <nowikI><font></nowikI> and <nowikI><center></nowiki>.
    * [https://rawgit.com/whatwg/html-differences/master/Overview.html#obsolete-elements Differences from HTML4 - obsolete elements and attributes]
    * https://developer.mozilla.org/docs/Web/CSS

  • ADF - how to  set find mode programmatically

    I have implemented the simple ADF search form described within Jdeveloper 10g help.
    If the query returns no data, I want to set 'find mode', and return to the find form. Anyone know the relevant API calls?

    You could use a JSTL expression to do this.
    <c:if test="${empty bindings.<collection>.rangeSet}">
    <c:redirect ....
    </c:if>
    and redirect through a DataAction on which you've dragged the find operation for that collection, when then forwards via success back to the screen. The only thing to watch is you'll need to wrap that above <c:if> statement in a test so that it only ever executes if you're not in find mode

  • How do I install Photoshop from the .exe files I got from Adobe?

    I downloaded Photoshop CS2 from Adobe's site.  That download gave me 5 .exe files, including CreativeSuiteCS2Disc1.exe, CreativeSuiteCS2Disc2.exe, and CreativeSuiteCS2Disc3.exe. 
    When I clicked on CreativeSuiteCS2Disc1.exe, files were extracted and installation began.  I put in my serial number and other information, and things seemed to be going fine.  Then a window popped up with the message "Please insert Disk 2."  Well, I don't have a Disk 2.
    My download included a file "CS2_install_Win.pdf."  In those instructions, it says "the InstallShield wizard may return an error, "Please insert disk [ number ]." If this error occurs, click OK in the dialog box and then double-click the disk image to which the installer refers to manually extract the disk and complete the installation."  So, I clicked on CreativeSuiteCS2Disc2.exe, which overwrote the extracted files from CreativeSuiteCS2Disc1.exe.  But the box saying "Please insert Disk 2" didn't go away. No matter how many times I clicked "OK" it just stayed there.  
    Still, CreativeSuiteCS2Disc2.exe ran, and when it was done I got a message that installation was complete.  But, when I tried to run CS2, I got an error that my serial number and organization were invalid or not installed properly.  I know they were installed because I put them in when I ran CreativeSuiteCS2Disc2.exe
    So, given that following the pdf instructions that came from the download don't seem to work, can anyone out there offer me better instructions on how to do this installation?  I was thinking of extracting each .exe file to a CD, then just inserting those CDs one at a time.  Will that work?

    Missing personalization infopoints to permissions/ user privileges issues which are to be expected with such old versions on contemporary operating systems. Run as admin, turn off security stuff, try compatibility modes. Actualyl burning the discs will of course work, but you might look into simply mounting folders/ disc images as virtual drives e.g. using Daemon Tools Lite or your disc burning software's own disc mounter.
    Mylenium

  • How to set form feed   in output .lst file

    sql >set pagesize 60
    spoo abc
    select * from xyz;
    spoo off
    In the file abc.lst header and placed details 60 lines. but at
    the time of printing if paper lenght is 72 lines how to set form feed?

    Try
    set newpage 0

  • How to control (the input and output) EXE file after I call it using exec?

    Hi,
    I knew that I can use runtime.exec() to call one EXE file, and this works. But this EXE has two characteristics:
    1. After this exe starts, it asks user to input number such as 1 or 2 onto computer screen, then press return. Then the exe will start the calculation.
    2. after it starts calculation, it prints 3 columns of numbers onto the screen.
    My two questions are:
    1. How to use java to input the number such as 1 or 2 automatically? this EXE can not work like this in DOS command line:
    C:> file.exe parameter
    The parameter is the number such as 1 or 2 that I wanna input.
    2. how to redirect the 3 columns of numbers from computer screen to txt file?
    My colleague can solve these two questions using Mathematica. So I know that definitely there is at least one solution for it. I just can not do it using Java. This wierd exe file bothered me a lot and I really wish that I can get help from someone in java community.
    Thank you!
    Tony

    When you call Runtime.exec, you get a Process object. (I presume something similar happens when you use ProcessBuilder.) Process has methods with names getOutput, getInput, and getError. These correspond to the standard input, standard output, and standard error streams of the spawned process.
    You can read and write to the process on the streams corresponding to input and output that the process writes to the console.
    [add]
    In fact, you should be grabbing and reading the output/error streams anyway, because of the points raised by the Traps article. Google "Java Runtime exec traps" and you'll probably get a link to this JavaWorld article, which describes common Runtime.exec problems and how to solve them.
    Edited by: paulcw on Jun 15, 2010 4:09 PM

  • How to set the name for an 'unknown' file extension?

    Specifics:
    I have various file extensions that are recognized by my mac. I would like to know how to create a list of applications that can open it so I do not get a 'There is no Default Application to open this file' error. I would also like to be able to give these file extensions names recognized by the mac.
    Just like .txt is a "Textedit Document" and .html is a "HTML Document," I'd like to be able to change the name and assosication of a file and give it its own .icns if possible.
    As for the default applications, I know how to set a default application. However, if a mac does not recognize a file extension, adding a new default application to run the file wil actually erase the old one, which is a big pain, especially when your file can be opened with ANY text editor.
    I understand that this may involve hacking into the operating system's databases, but if anyone can help, it would be greatly appreciated.

    Hi Timo,
    My jdev version is 10.1.3.3.0, this is for R12. By PR i mean to say process request and PFR process form request in the controller.
    In the Process request of the controller, i am finding the checkbox bean and assigning the firepartialaction for it.
    Later in the process form request for the fired event, i am trying to handle the rendered property of the messagetextinput. Is this a right approach?
    my code below
    public void processRequest(OAPageContext oapagecontext, OAWebBean oawebbean)
    super.processRequest(oapagecontext, oawebbean);
    OAApplicationModule oaapplicationmodule = oapagecontext.getApplicationModule(oawebbean);
    OAMessageCheckBoxBean oamessagecheckboxbean = (OAMessageCheckBoxBean)oawebbean.findChildRecursive("X_FLAG");
    if(oamessagecheckboxbean != null)
    oapagecontext.writeDiagnostics(this, "Message check box Bean found:", 1);
    FirePartialAction firepartialaction = new FirePartialAction("change");
    oamessagecheckboxbean.setAttributeValue(PRIMARY_CLIENT_ACTION_ATTR, firepartialaction);
    oamessagecheckboxbean.setFireActionForSubmit("change", null, null, true);
    oapagecontext.writeDiagnostics(this, "setting fire event", 1);
    public void processFormRequest(OAPageContext oapagecontext, OAWebBean oawebbean)
    super.processFormRequest(oapagecontext, oawebbean);
    oapagecontext.writeDiagnostics(this, "Inside Process Form Request", 1);
    if("change".equals(oapagecontext.getParameter(OAWebBeanConstants.EVENT_PARAM)))
    OAMessageTextInputBean bean = (OAMessageTextInputBean)oawebbean.findChildRecursive("X_NUMBER");
    if(bean!=null){
    bean.setRendered(Boolean.TRUE);}
    Thanks,
    Malar

Maybe you are looking for