WMI scripts are not running on Windows 8.1

Hi, I am using the below JavaScript to get the client IP and mac address in my application:
function getIP() {
    var wmi = GetObject("winmgmts:{impersonationLevel=impersonate}");
    e = new Enumerator(wmi.ExecQuery("SELECT * FROM Win32_NetworkAdapterConfiguration WHERE IPEnabled = True"));
    for (; !e.atEnd(); e.moveNext()) {
        var s = e.item();
alert('Mac: ' + s.MACAddress + ' IP: ' + s.IPAddress(0));
 This java script is working fine on Windows XP/7/2008R2, but not on Windows 8.1.
On Windows 8.1, the below script throws error:
var wmi = GetObject("winmgmts:{impersonationLevel=impersonate}");
Line: 10
Error:'GetObject' is undefined 
I am using Lenovo ThinkPad to test this script, below are the system details:
Windows Edition: Windows 8.1
Processor: Intel(R) Atom ™ CPU Z2760 @ 1.80 GHZ
Installed Memory (RAM): 2GB
System Type: 32-bit Operating System, x86-based processor
Pen and Touch: Full Windows Touch Support with 5 touch points
Production ID: 00179-60394-05138-AAOEM
About Internet Explorer:
Version: 11.0.9600.17105
Update Versions: 11.0.7 (KB2964358)
Product ID: 00150-20000-00003-AA459
Please help me it is really very urgent.

Hi,
I am afraid GetObject function in JavaScript is not supported in IE9 or later, see:
GetObject Function (JavaScript):(This function is not supported in Internet Explorer 9 (standards mode) or later.)
And regarding the scripts modification, we'd better seek help in the scripting guys forum for a better assistance:
The offical scripting guys forum!
http://social.technet.microsoft.com/Forums/scriptcenter/en-US/home?forum=ITCG
Best regards
Michael Shao
TechNet Community Support

Similar Messages

  • Ni usrp example are not running on window 7 64 bit

    i have installed labview 2012 ,modulation toolkit, mathscript toolkit and usrp device driver 1.2. i am using window 7 64 bit operating system. i am trying to run example of usrp but it was not running it is not able to load NI-MAPro.lvlib files .any other toolkit required to be installed to run examples of ursrp ...please help  i am new to usrp and labview.

    well most example of modulation toolkit and other like  EX FM demod sound card (queue), ex fsk tx,ex pam rx , ex pam tx, psk, QAM  ....allmost all example are creating poblem..whenever i click it start loading file but it is not able load NI_MAPro.lvlib it ask for file path but i donot where these files are located.for example if i click to open FM Demod sound card (queue) example it is not able laod file NI_Mapro.lvlib:fft power spectrum for 1 chan(cdb).vi

  • Golden gate extract and replicate process are not running.

    All,
    I am trying replicate data between two oracle databases using golden gate.
    I am trying this scenario in a single machine(two databases and golden gate are on same windows machine)
    1. I have two databases PROD, UAT both are running on 11.2 oracle home.
    2. Created the ggate user both the databases, and enabled supplemental logging.
    3. Ran the following scripts in both databases.
    SQL> @marker_setup.sql
    SQL> @ddl_setup.sql
    SQL> @role_setup.sql
    SQL> grant GGS_GGSUSER_ROLE to ggate;
    SQL> @ddl_enable.sql
    4. Connected the source database (PROD) in ggsci prompt
    GGSCI (home-c07402bbc5) 79> add extract ext1, tranlog, begin now
    add exttrail C:\app\Bhanu\Goldengate\lt, extract ext1
    edit params ext1
    EXTRACT ext1
    USERID ggate@PROD, PASSWORD 123456
    RMTHOST home-c07402bbc5, MGRPORT 7840
    rmttrail C:\app\Bhanu\Goldengate\lt
    ddl include mapped objname bhanu.* // bhanu is a schema in PROD database.
    TABLE bhanu.*;
    5. Connected the target database(UAT) in ggsci prompt
    add checkpointtable ggate.checkpoint
    edit params ./GLOBALS
    GGSCHEMA ggate
    CHECKPOINTTABLE ggate.checkpoint
    add replicat rep1, exttrail C:\app\Bhanu\Goldengate\Mt,checkpointtable ggate.checkpoint
    edit params rep1
    replicat rep1
    ASSUMETARGETDEFS
    userid ggate@UAT, password 123456
    discardfile C:\app\Bhanu\Goldengate\rep1_discard.txt, append, megabytes 10
    map bhanu.*, target kiran.*;
    After that started the extract, replicat using
    start extract ext1, start replicate rep1
    Now the status.
    GGSCI (home-c07402bbc5) 103> info all
    Program Status Group Lag Time Since Chkpt
    MANAGER RUNNING
    EXTRACT STOPPED EXT1 00:00:00 00:11:43
    REPLICAT STOPPED REP1 00:00:00 00:21:16
    Can you please help me what is wrong in my setup and why extract and replicate process are not running.
    Edited by: user12178861 on Nov 19, 2011 11:22 AM

    Thanks for your quick reply.
    I have done few changes but extract, replicate process not running.
    couple of points I would like to share with you regarding my setup.
    1. I am using single golden date instance to replicate the data between PROD and UAT databases.
    2. GGSCI (home-c07402bbc5) 1> dblogin userid ggate@PROD,PASSWORD 123456
    Successfully logged into database.
    GGSCI (home-c07402bbc5) 2> info all
    Program Status Group Lag Time Since Chkpt
    MANAGER RUNNING
    EXTRACT STOPPED EXT1 00:00:00 01:23:29
    REPLICAT STOPPED REP1 00:00:00 01:33:02
    GGSCI (home-c07402bbc5) 3> VIEW REPORT EXT1
    ERROR: REPORT file EXT1 does not exist.
    GGSCI (home-c07402bbc5) 4> start er *
    Sending START request to MANAGER ...
    EXTRACT EXT1 starting
    Sending START request to MANAGER ...
    REPLICAT REP1 starting
    GGSCI (home-c07402bbc5) 5> VIEW REPORT EXT1
    ERROR: REPORT file EXT1 does not exist.
    GGSCI (home-c07402bbc5) 6> info all
    Program Status Group Lag Time Since Chkpt
    MANAGER RUNNING
    EXTRACT STOPPED EXT1 00:00:00 01:24:10
    REPLICAT STOPPED REP1 00:00:00 01:33:44
    Target :
    GGSCI (home-c07402bbc5) 1> dblogin ggate@UAT,PASSWORD 123456
    ERROR: Unrecognized parameter (GGATE@UAT), expected USERID.
    GGSCI (home-c07402bbc5) 2> dblogin userid ggate@UAT,PASSWORD 123456
    Successfully logged into database.
    GGSCI (home-c07402bbc5) 5> add replicat rep1, exttrail C:\app\Bhanu\Goldengate/lt,checkpointtable ggate.checkpoint
    ERROR: REPLICAT REP1 already exists.
    GGSCI (home-c07402bbc5) 6> delete replicat rep1
    Deleted REPLICAT REP1.
    GGSCI (home-c07402bbc5) 7> add replicat rep1, exttrail C:\app\Bhanu\Goldengate/lt,checkpointtable ggate.checkpoint
    REPLICAT added.
    GGSCI (home-c07402bbc5) 8> edit params rep1
    GGSCI (home-c07402bbc5) 9> start er *
    Sending START request to MANAGER ...
    EXTRACT EXT1 starting
    Sending START request to MANAGER ...
    REPLICAT REP1 starting
    GGSCI (home-c07402bbc5) 10> info all
    Program Status Group Lag Time Since Chkpt
    MANAGER RUNNING
    EXTRACT STOPPED EXT1 00:00:00 01:29:46
    REPLICAT STOPPED REP1 00:00:00 00:00:48
    3. Is mandatory that I need two golden gate instances running each side ?
    Thanks for spending your time on this problem.

  • 6i Reports Not Running in Windows 64 Bit PC

    Hi All,
    We have installed 64 bit version of Windows in some PC’s. We are running Forms and Reports 6i from that PC. But only forms are running fine reports are not running. Have any one of you encountered this problem and got that resolved.
    Please share with us the resolution for the same.
    Thanks in advance

    Hello - I have been able to get the AIP installed.
    Turns out that the installation was hanging because a previous version of Acrobat was already installed. On other machines with Acrobat, I would get a window stating that I had to remove the old software but on W7 x64, the installation simply failed. After removing the old version and trying again, the new installation succeeded.
    Thanks to everyone for their help.

  • Scripts are not executing

    Hi,
    we have scheduled scripts through crontab,but from few days these scripts are not executing,there is no problem with time entries in crontab because some of them are executing correctly,what can be possible reasons for the cronjobs to not to execute.we are using sun solaris sparc 64 bit.oracle 10.1.0.4

    I can't say without knowing what the script does. Maybe somebody changed the permissions on another directory that script needs, or maybe another file it needs is no longer available, or ???
    Just suggesting a troubleshooting step. If you can run the script in a similar setup then you can eliminate the script as a likely problem. I didn't see anything on the crontab entry that looked to be a problem.
    PS: "will the date change with the execution of cronjob or it remains the same."
    No, the date on the cron daemon will stay the same. It just wakes up once a minute to check for things to do and kicks them off, it never restarts.

  • Attachments and history of my emails are not seen by Windows users

    attachments and history of my emails are not seen by Windows users

    Just guessing at what you mean, try this:
    In Mail, while composing a message, go to Mail's menu and click:
    Edit > Attachments > Always send Windows-friendly attachments

  • My iPod and iPhone are not recognized in Windows 7 iTunes. I've reinstalled iTunes and restarted windows. Now iPod briefly displays, then device manager mass storage shows a yellow exclamation point. iPhone doesn't display in iTunes at all. Please ad

    My iPod and iPhone are not recognized in Windows 7 iTunes. I've reinstalled iTunes and restarted windows. Now iPod briefly displays, then device manager mass storage shows a yellow exclamation point. iPhone doesn't display in iTunes at all. Please advise

    Try Andrei Cerbu's post here, JF Fourie's post here, or see TS1538: iOS: Device not recognized in iTunes for Windows, in particular section 5, forcing a driver update. See also TS1363: iPod: Appears in Windows but not in iTunes.
    tt2

  • Scheduled jobs are not running DPM 2012 R2

    Hi,
    Recently upgraded my dpm 2012 sp1 to 2012 R2 and upgrade went well but i got 'Connection to the DPM service has been lost.(event id:917 and other event ids in the eventlog errors ike '999,997)'. Few dpm backups are success and most of the dpm backups consistenancy
    checks are failed.
    After investigating the log files and found two SQL server services running in the dpm 2012 r2 server those are 'sql server 2010 & sql server 2012 'service. Then i stopped sql 2010 server service and started only sql server 2012 service using (.\MICROSOFT$DPM$Acct).
    Now 'dpm console issue has gone (event id:917) but new issue ocurred 'all the scheduled job are not running' but manully i can able to run all backup without any issues. i am getting below mentioned event log errors 
    Log Name:      Application
    Source:        SQLAgent$MSDPM2012
    Date:          7/20/2014 4:00:01 AM
    Event ID:      208
    Task Category: Job Engine
    Level:         Warning
    Keywords:      Classic
    User:          N/A
    Computer:      
    Description:
    SQL Server Scheduled Job '7531f5a5-96a9-4f75-97fe-4008ad3c70a8' (0xD873C2CCAF984A4BB6C18484169007A6) - Status: Failed - Invoked on: 2014-07-20 04:00:00 - Message: The job failed.  The Job was invoked by Schedule 443 (Schedule 1).  The last step to
    run was step 1 (Default JobStep).
     Description:
    Fault bucket , type 0
    Event Name: DPMException
    Response: Not available
    Cab Id: 0
    Problem signature:
    P1: TriggerJob
    P2: 4.2.1205.0
    P3: TriggerJob.exe
    P4: 4.2.1205.0
    P5: System.UnauthorizedAccessException
    P6: System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal
    P7: 33431035
    P8: 
    P9: 
    P10: 
    Log Name:      Application
    Source:        MSDPM
    Date:          7/20/2014 4:00:01 AM
    Event ID:      976
    Task Category: None
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      
    Description:
    The description for Event ID 976 from source MSDPM cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
    If the event originated on another computer, the display information had to be saved with the event.
    The following information was included with the event: 
    The DPM job failed because it could not contact the DPM engine.
    Problem Details:
    <JobTriggerFailed><__System><ID>9</ID><Seq>0</Seq><TimeCreated>7/20/2014 8:00:01 AM</TimeCreated><Source>TriggerJob.cs</Source><Line>76</Line><HasError>True</HasError></__System><Tags><JobSchedule
    /></Tags></JobTriggerFailed>
    the message resource is present but the message is not found in the string/message table
    plz help me to resolve this error.
    jacob

    Hi,
    i would try to reinstall DPM
    Backup DB
    uninstall DPM
    Install DPM same Version like before
    restore DPM DB
    run dpmsync.exe -sync
    finished
    Seidl Michael | http://www.techguy.at |
    twitter.com/techguyat | facebook.com/techguyat

  • Why last  4 lines of  every page in sap script are not coming ,it is not o

    pls give some solution why last  4 lines of  every page in sap script are not coming ,it is not over flowing to next page even? it is any page format related problem or coding problem?

    Hi,
    Use PROTECT ENDPROTECT statement it displays hole paragraph in to the single page and also to over come this issue.
    Regards
    Md.MahaboobKhan

  • Reports are not run in WAN using OAS10g R2 on MS Server2003? urgent help

    My Forms and Reports was run successfully using Oracle AS10gR2 installing on Win XP on Server in my LAN and WAN environment. So every thing is working fine using Win XP on my server Machine.
    But when I install MS Server 2003 and Oracle AS10gR2 on my server machine. Forms and reports are run successfully in LAN but in WAN forms are run successfully and reports are not running?
    Please send me the solution on urgent.
    Thanks.
    Shahzad

    Hi Paul,
    We recently upgraded our SCCM 2012 R2 servers to OS 2012 R2, Now i could not able to see the path you mention in your blog.
    mofcomp.exe “C:\Program
    Files (x86)\Microsoft SQL Server\100\Shared\sqlmgmproviderxpsp2up.mof”
    Bear in mind that the above command is for SQL Server 2008 and it assumes that SQL is installed in its default location.
    The command for SQL Server 2012 is:
    mofcomp.exe “C:\Program
    Files (x86)\Microsoft SQL Server\110\Shared\sqlmgmproviderxpsp2up.mof”
    I can only see D:\Program Files (x86)\Microsoft SQL Server\100\<Below
    folders>
    DTS
    SDK
    Tools
    srkr

  • Mail or File Adapter are not running without SLD

    Hi,
    is it correct, that all adapters on java stack are not running while where is no connection to SLD? (Idoc and http are working because they run in abap stack)
    We have just one SLD (no replicated SLD) for our PI 7.0 and we can see, that mail or file adapter are getting errors if the sld instance is down.
    What can we do to avoid this behaviour because the admins wanna patch the SolMan and the SLD is running there.
    Is it possible to run the integration engine without SLD?
    Thanx a lot
    Wolfgang

    We have just one SLD (no replicated SLD) for our PI 7.0 and we can see, that mail or file adapter are getting errors if the sld instance is down.
    SLD lookups are made at various levels of message excution. When message pass from Adapter Engine to Inetgration Engine, SLD lookups helps in identifying the correct address of IE. Therefore it will always affect the java (AE) based adapters.
    What can we do to avoid this behaviour because the admins wanna patch the SolMan and the SLD is running there.
    Its better not to try avoiding this standard behavior.
    For your patching requirement, you must perform it when the message traffic is low e.g. during weekends. Usually everywhere such patching and upgrade are done on weekends as the downtime is acceptable in that duration.
    Regards,
    Prateek

  • Unwise.exe Files not run on Windows 8.1 SSSS

    So unwise.exe Files not run on Windows 8.1 I Tried too! much but when i run it , it will not open i also tried To run as Administor but not works i am downloaded GTA San Andreas Admin console for my GTA San Andreas that one was unwise.file its not opening
    what should i do?
    Reply Please!

    So unwise.exe Files not run on Windows 8.1 I Tried too! much but when i run it , it will not open i also tried To run as Administor but not works i am downloaded GTA San Andreas Admin console for my GTA San Andreas that one was unwise.file its not opening
    what should i do?
    Reply Please!

  • Please i need help the forms are not running

    the forms are not running by internet exp and i am trying all of things , then i am working now with Firefox and the problem still running and the error is additional plugins are required to display all the media in this page
    what can i do to running forms correct
    Message was edited by:
    user616145

    i could not understand ur prob. clearly. U run form from application server or just using oracle oc4J of oracle 10gDS in ur local machine? When u run ur form what kind of error u see?
    - tkarim

  • Director 11.5 "exe" not running in windows lower version

    hi,
    i have some project made in director mx2004 (d10) and convert it to director 11.5 but when i publish exe it will not run on windows 2000 or windows 98 (basically lower then windows xp2), have any one idea of that
    thanks

    This page shows the authoring and runtime OS requirements. Unfortunately, D 11.5 isn't set up to run on Windows versions earlier than XP. You may want to keep that earlier version of your .exe and make it available to users with 2000 or 98.

  • Scheduled Brio/IR Jobs are not running as expected in EPM 11.1.2.2

    Hi All,
    We are observing some scheduled jobs are not running as expected,they are not running on the scheduled time.
    Given below are more details.
    We have 2 Jobs running at 6:00 AM daily based on single Recurring Time Event and it is observed that this jobs are not running on time(ex: 6:06 AM EST).
    I tried verifying Consolidate Job Status in workspace admin options and the v8_RecurtimeEvent table for any miss in the 'Next Run Time',
    but they were having the scheduled date/time of run.No clue from EPM Logs.
    Interesting observation is the same jobs are running after updating the schedule time a little bit further(ex: 6:06 AM to 6:07 AM),but again after some days
    the updated job(6:07 AM ) will stop running.
    Thanks,

    Put the IR job logs in TRACE:32 mode which will give more information in the logs . Refer this document link to put in TRACE mode :http://docs.oracle.com/cd/E17236_01/epm.1112/epm_install_troubleshooting_1112200.pdf
    Thanks,
    KK

Maybe you are looking for

  • HT202359 Is there a way to find the value of an unused itunes card without scratching the PIN security strip?

    I have an itunes gift card that I want to check the value so I know which card I am giving to whom. Is there a I can find the value without removing the security strip?

  • Java(TM) Plug-in

    I am looking for a way to change the settings on the browser tab of the Java Plug-in Control Panel, on a Windows OS, from a command line. We have two IE based applications that need to be used by one user, one of the apps requires the Sun JRE, and th

  • [SOLVED] DBus error when accessing "Windows Network"

    I'm getting an error when trying to access "Windows Network" from Nautilus after last Gnome (2.22 -> 2.24) update: Unable to mount location DBus error org.freedesktop.DBus.Error.NoReply: Message did not receive a reply (timeout by message bus) Please

  • Activating Adobe CS2

    My computer crashed. It was rebuilt. I installed Adobe CS2, but it will not activate online or by phone. What can I do. My employer bought the CS2 and I also install it on home computer. LH

  • Exporting to Quicktime from FCE

    Here's hoping one of the more experienced members of this forum can guide me with answers to two questions please. I shoot and edit 16:9 SD (as opposed to HD) and I have Quicktime Pro. My films are about 3 minutes long. When I Export as Quicktime, th