Change Theme VBS Not working... Thoughts?

I was asked to move this to scripting... Any help is appreciated.
This is the Script we use today for Windows 7, but this does not work for Windows 8 / 8.1.  When running it keeps bringing up the Desktop Icon Settings Box???
Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.Run "rundll32.exe %SystemRoot%\system32\shell32.dll,Control_RunDLL %SystemRoot%\system32\desk.cpl desk,@Themes /Action:OpenTheme /file:""ThemeLocation\MY.theme"""
Wscript.Sleep 1600
WshShell.AppActivate("Desktop Properties")
WshShell.Sendkeys "%FC"
WshShell.Sendkeys "{F4}"

There's no guarantee that calling rundll32.exe to execute a shell32.dll function is going to work. I would guess it's even a side-effect that it "works" in Windows 7. It's important to understand that the rundll32.exe was designed only to run exported dll
functions with a very specific signature. These blog postings provide some background:
Throwing garbage on the sidewalk: The sad history of the rundll32 program
What can go wrong when you mismatch the calling convention?
What's the guidance on when to use rundll32? Easy: Don't use it
Perhaps if you were to explain the goal/purpose?
Bill

Similar Messages

  • Switch Theme is not working in apex 4.2.Plz  help me out.........

    Hi.......
    Switching from one theme to another theme is not working in apex 4.2..............
    Thanx in advance

    Hi!
    Same problem.
    Upgraded from 4.1 -> 4.2.
    Change theme from slightly modified Green theme (in mine case 101 is number and original was 11, One level Tabs) to Theme 25 Blue Responsive.
    Login page for instance doesn have "Login Region" for instance (not in LOV). And all pages are softly said strange.
    All have DISPLAY problem described on "http://1.bp.blogspot.com/-GzseTk6Lpes/UHvJkg9GulI/AAAAAAAAHRQ/Wt406GGZADQ/s640/Screen+Shot+2012-10-15+at+10.25.29.png", but without many parts that Dmitri describe.
    Rg
    Damir

  • Cant seem to make photoshop default to open photos in Windows. Its defaulting to Adobe and I changed settings, still not working

    When I upload photos from my phone to computer Cant seem to make photoshop default to open photos in Windows. Its defaulting to Adobe and I changed settings, still not working. Even when I press preview on photo and they open in windows photo viewer I cannot save the file to my computer. I have Photoshop CS4

    infact both are same only..http://store.apple.com/us/product/MB572Z/B/mini-displayport-to-vga-adapter        "http://store.apple.com/us/product/MB570Z/B/mini-displayport-to-dvi-adapter"

  • UI theme designer not working

    UI5 addons are newly installed in our ERP 6 EHP6 system. But /UI5/THEME_DESIGNER in logon throws " This Function is not possible" .
    Checking in SICF / default_host / bc / theming by activating the service and testing in the browser throws a " 403 Forbidden "
    attached is screenshot of UI addons installed . Any suggestions are appreciated.

    In my previous reply, I said that no config is required to launch theme designer. I have not said anything about fiori etc.
    I guess your question is about theme designer not working right. and the answer is you need to open the transaction as /n/UI5/THEME_DESIGNER
    Regards,
    Chandra

  • Hi, I tried to change my security questions on the internet. But, for some reason, the button to change them is not there! This is annoying as I have recently bought an iTunes voucher and now I cannot buy any new apps. Can anybody please help me!!

    Hi, I tried to change my security questions on the internet. But, for some reason, the button to change them is not there! This is annoying as I have recently bought an iTunes voucher and now I cannot buy any new apps. Can anybody please help me!!

    Security questions:
    https://discussions.apple.com/docs/DOC-4551

  • My Lumia 720 theme is not working after Amber upda...

    Hi,
    Today I updated my Lumia 720 with amber update . I got all the new feature like Glance , color profile etc. but now theme color are is not working. On change of theme color, tiles color is not changing. Tiles are always in black color.
    I am also not able to set lockscreen image it is always coming blank black screen.
    Please suggest.
    Solved!
    Go to Solution.
    Attachments:
    wp_ss_20130930_0001.png ‏74 KB

    try a soft reset by pressing volume down + lock keys until your phone vibrates.
    The silence will fall

  • PS CS6 Smartobject - Changing color space not working

    If I initially open a smartobject from ACR into PS CS6 using one color space, eg. sRGB, should it then be possible to click back into ACR and change color space to Adobe RGB ???
    This is important to me, since working most of the time in sRGB, batch editing lot's of files (for timelapse-video, hence sRGB), but sometimes it may be nessecary to go back and use Adobe RGB to make a best possible print of one of the stills.
    This is not working for me. I thought I should be able to do absolutely non-destructive editing when working with smartobjects from ACR, but this may seem to not be the case.
    Ole

    I understand now that a copy of the original RAW file is made when working with SO.
    Still, when checking what color space I am working in (in PS CS6), after changing from sRGB to aRGB, PS still tells me I am working in sRGB!!
    So what I am asking, going back from a SO in PS, into ACR, to change the color space, does not work.
    Is there a workaround for this?
    Or is it something I still do not understand here?

  • Loading multiple SWFs and storing them (code not working under Firefox 23 and Chrome)

    Hey guys,
    Anyone has any idea why this code suddenly don't work anymore? (It works under internet explorer but not firefox and chrome
    The code under is placed on my main swf to preload all my external swfs and store them for not having to wait too long to access them.
    Thx guys.
    I took the code from here btw: http://www.beautifycode.com/the-finer-art-of-loading-2-handling-multiple-swfs#snippet
    I'm running flash player 11.8.800.94... It used to work under Firefox and Chrome
    var _swfLoader:Loader;
    var _swfRequest:URLRequest;
    var _swfPathArr:Array = new Array("00.swf", "01.swf", "02.swf");
    var _swfClipsArr:Array = new Array();
    var _swfTempClip:MovieClip;
    var _loadedSWFs:int;
    startLoading(_swfPathArr);
    function startLoading(pathArr:Array):void {
    _swfLoader = new Loader();
    _swfRequest = new URLRequest();
    loadSWF(pathArr[1]);
    function loadSWF(path:String):void {
    setupListeners(_swfLoader.contentLoaderInfo);
    _swfRequest.url = path;
    _swfLoader.load(_swfRequest);
    function setupListeners(dispatcher:IEventDispatcher):void {
    dispatcher.addEventListener(Event.COMPLETE, onSwfComplete);
    function onSwfComplete(event:Event):void {
    event.target.removeEventListener(Event.COMPLETE, onSwfComplete);
    _swfTempClip = event.target.content;
    _swfTempClip.customID = _loadedSWFs;
    _swfClipsArr.push(_swfTempClip);
    if(_loadedSWFs <_swfPathArr.length - 1) {
    _loadedSWFs++;
    loadSWF(_swfPathArr[_loadedSWFs]);
    } else {

    Hi kglad,
    The problem was coming from my server.
    I recently played with some settings  from a "cache control tool" offered by my hosting but i thought i had it back at default. Turns out i must've missed something. Now i have the .html caching on and everything works good on all browser.
    I have another question tho...
    I'd like to know if there's a way to cache an html file without having to ask my hoster to cache all of my htmls...
    I'm using this code now but maybe there's a way to add something that will cache this page specifically?
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <title>title</title>
    <script language="javascript">AC_FL_RunContent = 0;</script>
    <script src="fluid_site.js" language="javascript"></script>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
    <link href="style.css" rel="stylesheet" type="text/css" media="screen"/>
    </head>
    <!--url's used in the movie-->
    <!--text used in the movie-->
    <!-- saved from url=(0013)about:internet -->
    <script>
        if (AC_FL_RunContent == 0) {
            alert("This page requires fluid_site.js.");
        } else {
            AC_FL_RunContent(
                'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0',
                'width', '100%',
                'height', '100%',
                'src', 'index',
                'quality', 'medium',
                'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
                'align', 'middle',
                'play', 'true',
                'loop', 'true',
                'scale', 'showall',
                'devicefont', 'false',
                'wmode', 'window',
                'id', 'index',
                'name', 'index',
                'menu', 'false',
                'allowFullScreen', 'false',
                'allowScriptAccess','sameDomain',
                'movie', 'index',
                'salign', ''
                ); //end AC code
    </script>
    <body>
    <noscript>
        <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="100%" height="100%" id="index" align="middle">
        <param name="allowScriptAccess" value="sameDomain" />
        <param name="allowFullScreen" value="false" />
        <param name="MENU" value="false">
        <param name=wmode value=window>
        <param name="movie" value="index.swf" /><param name="quality" value="medium" /><embed src="index.swf" quality="medium" width="100%" height="100%" wmode="direct" name="fluid_site" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
        </object>
    </noscript>
    </body>
    </html>
    Thanks

  • After password changed, Gmail is not working on iPad mail apps.

    After Gmail password changed, iPad mail app's not working.
    I changed  password on ipad setting too.
    But its showed ' Theuser name or password for "Gmail" is incorrect. '
    I can use Gmail from safari.
    Why?

    Try this. Even if the outgoing primary server states that the username and password are optional, fill them in anyway.
    Try going into Settings > Mail, Contacts, Calendars > select the account > account name , tap on SMTP (under the 'Outgoing Mail Server' heading) and then tap on your Primary Server and try entering your email account and password and see if you can then send emails.

  • Change User password not working in SAP ME 6.0

    Hi,
    In SAP ME 6.0 SP01 6.0.1.0 Counter 40, the activity "Change User Password" does not work for me or any other user.
    The activity window (Netweaver) shows, but in the top it says "An error occurred - contact system administrator".
    This is the output from the default trace file. Seems my user is not authorized, but where do I set this authorization?
    Br,
    Johan
    #2.0 #2011 09 06 11:15:11:064#+0200#Error#com.sap.security.core.wd.jmxmodel.JmxModelComp#
    #BC-JAS-SEC-UME#sap.com/tcsecumewduimodel#C0000AD3034800820000000100000450#9934850000000004#sap.com/tcsecumewdkit#com.sap.security.core.wd.jmxmodel.JmxModelComp#JONORD#16##380199ECD86811E088C3000000979802#ae0e9d52d86811e08e7a000000979802#ae0e9d52d86811e08e7a000000979802#0#Thread[HTTP Worker [@312363456],5,Dedicated_Application_Thread]#Plain##
    public void supplyCompany(IPrivateJmxModelCompInterface.ICompanyNode node, IPrivateJmxModelCompInterface.IContextElement parentElement)
    [EXCEPTION]
    com.sap.engine.services.jmx.exception.JmxSecurityException: Caller JONORD not authorized, required permission missing (javax.management.MBeanPermission -\#getCompanyConceptEnabled[:SAP_J2EECluster="",j2eeType=UmeJmxServer,name=IJmxServer] invoke)
         at com.sap.engine.services.jmx.auth.UmeAuthorization.checkMBeanPermission(UmeAuthorization.java:100)
         at com.sap.engine.services.jmx.JmxServerFrame.checkMBeanPermission(JmxServerFrame.java:101)
         at com.sap.engine.services.jmx.MBeanServerSecurityWrapper.checkMBeanPermission(MBeanServerSecurityWrapper.java:438)
         at com.sap.engine.services.jmx.MBeanServerSecurityWrapper.invoke(MBeanServerSecurityWrapper.java:288)
         at com.sap.engine.services.jmx.ClusterInterceptor.invoke(ClusterInterceptor.java:813)
         at com.sap.pj.jmx.server.interceptor.MBeanServerInterceptorChain.invoke(MBeanServerInterceptorChain.java:367)
         at com.sap.security.core.jmx._gen.IJmxServer$Impl.getCompanyConceptEnabled(IJmxServer.java:1415)
         at com.sap.security.core.wd.jmxmodel.JmxModelCompInterface.supplyCompany(JmxModelCompInterface.java:1498)
         at com.sap.security.core.wd.jmxmodel.wdp.InternalJmxModelCompInterface.supplyCompany(InternalJmxModelCompInterface.java:710)
         at com.sap.security.core.wd.jmxmodel.wdp.IPublicJmxModelCompInterface$ICompanyNode.doSupplyElements(IPublicJmxModelCompInterface.java:4301)
         at com.sap.tc.webdynpro.progmodel.context.DataNode.supplyElements(DataNode.java:110)
         at com.sap.tc.webdynpro.progmodel.context.Node.getElementListAsObject(Node.java:263)
         at com.sap.tc.webdynpro.progmodel.context.MappedNode.createMappedElementList(MappedNode.java:78)
         at com.sap.tc.webdynpro.progmodel.context.MappedNode.supplyElements(MappedNode.java:71)
         at com.sap.tc.webdynpro.progmodel.context.Node.getElementListAsObject(Node.java:263)
         at com.sap.tc.webdynpro.progmodel.context.MappedNode.createMappedElementList(MappedNode.java:78)
         at com.sap.tc.webdynpro.progmodel.context.MappedNode.supplyElements(MappedNode.java:71)
         at com.sap.tc.webdynpro.progmodel.context.Node.getElementListAsObject(Node.java:263)
         at com.sap.tc.webdynpro.progmodel.context.Node.getElements(Node.java:270)

    Hi,
    Change User Password screen is in fact user self services screen of NW UME and to access it, user must have Manage_My_Password action. Installation and Security Guide ask to assign this action to all roles.

  • SAP CRM 7.0 WebUI: change history is not working

    Hi specialists
    Our change history is working - but only in SAPGUI.
    I found no way to activate / customize it for the WebUI. The corresponding Assignment Block is simply blank.
    On the other hand - in the SAPGUI its working like it is mentioned to do.
    But it is getting better:
    On our test system its working even in the  WebUI.
    On our prod. system not.
    Does somebody of you have any advices/hints for me?
    With best regards
    Thomas
    System:   SAP CRM 7.0
    2-Tier (test and productive system)
    Problem occurs only on productive system in WebUI

    Hi,
    We are facing same problem for change history on webIC except that all changes to
    business partner are visible only changes to contract account are not coming in change history.
    for e.g if we changed incoming payment method using tcode CAA2 on ISU change is replicating
    on CRM but change history is not showing changes made to incoming payment method.
    i have already posted question but got no reply's
    [change history is not updating on CRM webIC 7.0]
    Following are the components & views which are being called for change history functionality on WebIC.
    Component :
    BP_HEAD
    BP_DATA
    View :
    BP_HEAD/BPHEADOverview
    BP_DATA/AccountChangeHistoryOV
    Above view's are as per SAP standard and not modified or enhanced by us.
    Thank You,
    Sidh

  • Mass Change in FBL3N NOT working

    Dear All ,
    I am using tcode FBL3N to do the Mass Change of the field text (field SGTXT) for all the selected line items.But it is NOT working for reasons unknown. I have searched all the threads in SDN but could not find the solution.
    Iam an ABAPER and iam told to find out why the Mass Change is NOT happening. I have debugged the transaction and also searched for all the related SAP notes but could not figure out what exactly the problem is.
    Iam NOT sure whether this is the problem from ABAP code or a Functional problem.
    In the code the tcode FB02 is being called is this the problem with this ??
    If anyone knows the solution plz help me.
    Thanks in Advance
    Shaik

    Dear All,
    The problem is solved.There was an implementation of BTE by the customer in which they were using a COMMIT WORK, which was causing inconsitency to the standard sap functionality (Mass Change thru FBL3N).When we removed this COMMIT WORK,the Mass Change functionality is working fine.

  • Transaction variant to disallow change in FB02 not working for FBL5N / FB09

    Hi SAPtechies,
    I have created a transaction variant to disallow change in all fields other than Text (BSEG-SGTXT), and activated it for standard transaction FB02.
    This works well when FI document is changed via transaction FB02, but fails when the same document is changed via FBL5N / FB09.
    The screen is same for FB02 & FBL5N:
    Program (screen)     SAPMF05L
    Screen number        301
    Program (GUI)        SAPMF05L
    I have already checked for enhancement in PBO INCLUDE MF05LO00, but there was no success.
    Can anyone suggest me another methadology to greyout or make FB02 fields uneditable, with same functionality also working for FBL5N/FB09?

    Hi ,
    I could achieve  a way to disallow editing in FB02 item level fields using substitution & custom exit.
    Additional requirement was that I want to assign authorization for particular users who can change all fields.
    Any suggestions on it?
    Our Basis team has created new role & assigned this role for FB02.
    But this role has got many technical authorization objects.
    Below check is not working:
    AUTHORITY-CHECK OBJECT 'S_TCODE'
               ID 'TCD' FIELD sy-tcode.
    Thanks...Tanaya

  • Background Change Picture Feature Not Working

    I have had my macbook pro for about 6 months now and my change background feature worked fine when I first got it. I could add folders of pictures and tell it change ever 5 seconds and it worked. Over time, I messed with my dock settings and background settings with other third party programs and stuff and decided I didn't like them so I would just go back to the features built into Leopard. I tried to do a random, change every 5 seconds background change folder deal the other day and it never would change. I tried doing it on the default folders like the apple images and the nature ones and stuff but it would never change. I can still add folders. I can click the option of random order and change every x times. When I close out my system preferences, it resets what I did. I go back to my background panel and they are unchecked. How can I fix this and is anyone else having this problem?

    delete the file com.apple.desktop.plist from homedirectory/Library/Preferences and log out/in. You background settings should be set to defaults and you should be able to change them as you like.

  • I'm getting this error "system uptime in nanosecond" and I have IOS and Xp both of them are not working. Thank you

    In the bugging they told me its a software problem, and I need to format all my hard drive. But now it's all not working (I didn't format or change anything) and I have some important information in my hard drive. Any one know what I can do? Help please

    What is the issue? Please exain what goes wrong in more detail.

Maybe you are looking for

  • Why is the Filter Bin Content Slow?

    We recently switched from FCP 7.0.3 to Premiere Pro CS6 on various computers in the office (Retina Display, Mac Pro with Quadro 4000 Accesior Card, 2010 Macbook Pro w/ SSD). We are using thunderbolt and ESATA external drives for this projects media f

  • Batch details in Ap credit memo

    Hi expert s i want to add some fields from oibt table in ap credit memo pld can anyone help me regards Jenny

  • Error in flat file data loading

    Hi All, I have a flat file which has 20000 records, when I tried to do Read Preivew data in Data source creation Iam getting the following error. I have the field name GROSSMARGIN in flat file I have given the properties of Grossmargin as a keyfigure

  • New Field addtion for movement types

    Hi Everyone, I want to add new field for movement type 301(vendor material no)can you please guide me how to accomplish this task. Thanks Venkat

  • What does the ServerName property of a mailbox do?

    This field doesn't seem to be related to anything. I have mailboxes on a single database with the ServerName field containing the name of different mailbox servers. Is this the mailbox server on which they were originally created? Is this field used