Unable to set ip address via enableStatic method on wmiobject

hi friends
i am creating a powershell script which performs many customization which one of them is setting ip address on my only network adapter which its default name is Ethernet in windows server 2012.
(note: i do know there are new cmdlet to do this easily in PS 4.0, but i need to perform that via wim methods so that i be able to run that script on my win 2008 server as well), so i need something to work in both PS 2.0 & 4.0
its about 3 hours i am struggling with codes but encounter different errors.
because in get-wmiobject win32_networkAadapterconfiguration command, we don't have "NetConnectionID" which refers to displayname of the network adaptor, we cannot refer to that network adaptor directly in win32_networkAadapterconfiguration
command.
so after verifying , i found that index property exist in both win32_networkAadapter & win32_networkAadapterconfiguration commands via which i can reach what ia want
i have to first create a $NIC variable using win32_networkAadapter & then use it in 2nd command on the basis of index, but i end up with the following error.
where i am wrong in the code? any help please
thanks in advanced

hi friends
i am creating a powershell script which performs many customization which one of them is setting ip address on my only network adapter which its default name is Ethernet in windows server 2012.
(note: i do know there are new cmdlet to do this easily in PS 4.0, but i need to perform that via wim methods so that i be able to run that script on my win 2008 server as well), so i need something to work in both PS 2.0 & 4.0
its about 3 hours i am struggling with codes but encounter different errors.
because in get-wmiobject win32_networkAadapterconfiguration command, we don't have "NetConnectionID" which refers to displayname of the network adaptor, we cannot refer to that network adaptor directly in win32_networkAadapterconfiguration
command.
so after verifying , i found that index property exist in both win32_networkAadapter & win32_networkAadapterconfiguration commands via which i can reach what ia want
i have to first create a $NIC variable using win32_networkAadapter & then use it in 2nd command on the basis of index, but i end up with the following error.
img here
where i am wrong in the code? any help please
thanks in advanced
>> where i am wrong in the code?
Right at the beginning, where you assign the Format-Table's output to a variable.
Cmdlets with the verb Format are intended to output data to the display only - there are few exceptions, but Format-Table is no exception.
To understand what I'm telling you, run these commands after those in your question:
$nic_index.gettype()
and
$nic_index[0].gettype()
and see that this variable is not what you expect it to be.
hi thanks, so what is the solution?

Similar Messages

  • WRVS4400N Unable to get DHCP address via wireless

    I am having an issue with the WRVS4400N.  I am unable to get a DHCP address via wireless.  If I connect directly to the router via RJ45, I get a dhcp address an and able to get to the internet.  Has anyone ran into this issue.

    This seems to be a problem with the latest firmware (v1.01.03) available from Linksys for this router.  The stock firmware for my WRVS4400N router assigned DHCP addresses to wireless devices without any issue.  As soon as I upgraded the router to v1.01.03, the router no longer assigns DHCP addresses to wireless devices.  I have verified there is no issue with the router itself by rolling back to version 1.00.16 with the recovery utility.
    One workaround I noticed with firmware v1.01.03 is that the router will actually assign DHCP addresses to wirelss devices temporarily if it assigns a DHCP address to a device connected to the physical port.  This only last for a little before the router stops giving out DHCP address to wireless devices though.  It's a shame since I was looking forward to some of the features in the v1.01.03 firmware.
    Chuck

  • Unable to set IP address for VM creation using createVmBasedOnTemplate

    Hi,
    I'm trying to create VM using LifeCycleService - createVmBasedOnTemplate api
    The VM gets created and i m able to power on
    The ethernet cards are inactive when i checked thorugh console and IP address is not set
    So i'm unable to login to the VM using the IP address
    Below is the code snippet for reference
    // CreateLifeCycleServiceClient lifeCycleServiceClient
    LifecycleService.TemplateVmConfig templateVMConfig = new VirtualMachineController.LifecycleService.TemplateVmConfig();
    templateVMConfig.serverPoolName = "server pool name";
    templateVMConfig.templateName = "mytemplate";
    templateVMConfig.consolePassword = "password1";
    templateVMConfig.guestLogin = "guestuser1";
    templateVMConfig.guestLoginPassword = "password1";
    templateVMConfig.vmName = "rhel5_sample";
    templateVMConfig.haEnable = false;
    LifecycleService.NICConfig nic = new VirtualMachineController.LifecycleService.NICConfig();
    nic.name = "VIF0";
    nic.bridge = "xenbr0";
    nic.ipAddress = "10.10.10.227";
    nic.subnetMask = "255.255.255.128";
    nic.defaultGateway = "10.10.10.129";
    nic.domainName = "localhost.localdomain";
    nic.hostName = "rhel5_sample";
    nic.macAddress = "00:16:3E:09:56:C2";
    nic.dnsServer = "";
    nic.frontEndName = "rhel5_sample";
    nic.qosEnabled = true;
    nic.rateLimit = 100;
    LifecycleService.NetworkConfType oNetworkConfType = new LifecycleService.NetworkConfType();
    oNetworkConfType.type = "Static";
    nic.networkConfType = oNetworkConfType;
    LifecycleService.NetworkType oNetworkType = new VirtualMachineController.LifecycleService.NetworkType();
    oNetworkType.networkType = "ioemu";
    nic.networkType = oNetworkType;
    //nic.set
    LifecycleService.NICConfig\[] vifs = new VirtualMachineController.LifecycleService.NICConfig[] { nic };
    templateVMConfig.vif = vifs;
    vm = lifeCycleServiceClient.createVmBasedOnTemplate(templateVMConfig);
    Please help
    Edited by: user12180212 on Nov 6, 2009 5:16 AM
    Edited by: user12180212 on Nov 6, 2009 5:17 AM
    Edited by: user12180212 on Nov 6, 2009 5:18 AM

    Hi,
    I checked out the log file but there were no exceptions
    Am i missing something to set the IpAddress ?
    Log - for vm creation
    "2009-11-09 07:15:10" INFO=> new_async_task_ext: success. ->cp_vm ('/OVS/seed_pool/RHEL5_1C1G_149', '/OVS/running_pool/575_SampleVM3') => 875AD9EC47EC43E599CC7482ACB861E9
    "2009-11-09 07:15:10" INFO=> cp_vm: '/OVS/seed_pool/RHEL5_1C1G_149' -> '/OVS/running_pool/575_SampleVM3'
    "2009-11-09 07:15:11" INFO=> directcall_in_asyncenv: success. utl_get_vm_size ('/OVS/seed_pool/RHEL5_1C1G_149', '875AD9EC47EC43E599CC7482ACB861E9') => success:size=10241
    "2009-11-09 07:15:11" INFO=> directcall_in_asyncenv: success. utl_get_storage_repos ('875AD9EC47EC43E599CC7482ACB861E9',) => success:repos=/OVS;free_space=301273
    "2009-11-09 07:15:11" INFO=> utl_cp_vm: vm('/OVS/seed_pool/RHEL5_1C1G_149') -> vm('/OVS/running_pool/575_SampleVM3') start...
    "2009-11-09 07:19:25" INFO=> xen_correct_qos_cfg: vm_cfg('/OVS/running_pool/575_SampleVM3/vm.cfg')=>success.
    "2009-11-09 07:19:25" INFO=> xen_clear_vif_mac: success. vm('/OVS/running_pool/575_SampleVM3')
    "2009-11-09 07:19:25" INFO=> xen_correct_qos_cfg: vm_cfg('/OVS/running_pool/575_SampleVM3/vm.cfg')=>success.
    "2009-11-09 07:19:25" INFO=> xen_remove_shared_disk: success. vm('/OVS/running_pool/575_SampleVM3').
    "2009-11-09 07:19:25" INFO=> regenuln_uuid: /OVS/running_pool/575_SampleVM3/vm.cfg.
    "2009-11-09 07:19:25" DEBUG=> regenuln_uuid: System.img.
    "2009-11-09 07:19:26" DEBUG=> regenuln_uuid: mount -o loop System.img /tmp/tmpJ8Ag17ovs_mount_point failed.
    "2009-11-09 07:19:26" INFO=> xen_update_uuid: success. vm('/OVS/running_pool/575_SampleVM3/vm.cfg') uuid=65104130-1e5e-18cf-163a-460b853e0c85
    "2009-11-09 07:19:26" INFO=> utl_cp_vm: vm (/OVS/running_pool/575_SampleVM3) created!
    "2009-11-09 07:19:26" INFO=> directcall_in_asyncenv: success. utl_cp_vm ('/OVS/seed_pool/RHEL5_1C1G_149', '/OVS/running_pool/575_SampleVM3', '875AD9EC47EC43E599CC7482ACB861E9') => success:size=10241
    "2009-11-09 07:19:26" INFO=> cp_vm: '/OVS/seed_pool/RHEL5_1C1G_149' -> '/OVS/running_pool/575_SampleVM3' => success:size=10241
    "2009-11-09 07:19:26" INFO=> directcall_in_asyncenv: success. cp_vm ('/OVS/seed_pool/RHEL5_1C1G_149', '/OVS/running_pool/575_SampleVM3', '875AD9EC47EC43E599CC7482ACB861E9') => success:size=10241
    "2009-11-09 07:20:12" INFO=> xen_correct_qos_cfg: vm_cfg('/OVS/running_pool/575_SampleVM3/vm.cfg')=>success.
    "2009-11-09 07:20:12" INFO=> xen_set_vifs: success. vm('/OVS/running_pool/575_SampleVM3') set vif_cfg=00:16:3E:09:56:C2,xenbr0,ioemu, mode=setall, scope=cfg
    "2009-11-09 07:20:12" INFO=> set_vm_vifs: vm('/OVS/running_pool/575_SampleVM3') vif_cfg=00:16:3E:09:56:C2,xenbr0,ioemu scope=cfg => rs=success
    "2009-11-09 07:20:12" INFO=> xen_set_vm_vnc_password: success. vm_path('/OVS/running_pool/575_SampleVM3')
    "2009-11-09 07:20:12" INFO=> set_vm_vnc_password: success. vm_path('/OVS/running_pool/575_SampleVM3') => success
    "2009-11-09 07:20:12" INFO=> set_vm_policy: vm('/OVS/running_pool/575_SampleVM3') policy=[] append=False=> success.
    Log when VM is  powered on
    "2009-11-09 07:34:21" INFO=> xen_correct_qos_cfg: vm_cfg('/OVS/running_pool/575_SampleVM3/vm.cfg')=>success.
    "2009-11-09 07:34:21" INFO=> xen_correct_cfg: success. vm('/OVS/running_pool/575_SampleVM3') => cfg_file('/OVS/running_pool/575_SampleVM3/vm.cfg')
    "2009-11-09 07:34:24" INFO=> xen_start_vm: success. vm('/OVS/running_pool/575_SampleVM3')
    "2009-11-09 07:34:24" INFO=> start_vm: vm('/OVS/running_pool/575_SampleVM3') on srv('10.237.214.149') => success
    "2009-11-09 07:34:24" INFO=> start_vm: success. vm('/OVS/running_pool/575_SampleVM3') ip=''

  • Unable to set email address for user MySite in SharePoint2013

    Hi,
    I've a SharePoint Ent farm with a MySite Host Site Collection created. Under that, I've got some users having their own MySites.
    Now, the problem is, I'm unable to get the link for editing the user's email address after logging in to the MySite under the credentials of the particular user. 
    Can anybody please suggest. Is this field at all editable?
    Thanks,
    Arnab

    Hi John,
    Elaborating...
    I've created a MySite Host Site Collection programmatically, say, http://test.mysitehost.local/.
    Under the same I'm creating user mysites (through SharePoint2013 Object model), say, http://test.mysitehost.local/personal/user1. (for my case "personal" is the managed path). While creating the user mysites, I'm not passing any value for the email
    address of the user. 
    Now, my question is, can I set the email address of the user from MS native portal or through powershell?
    Please note, I'm using SharePoint2013 Server.
    Thanks in advance,
    Arnab

  • Photosmart printer will not connect to network, unable to set IP Address Manually

    My Photosmart printer has worked fine for a long time but it now refuses to connect to the network.  It is wired into the router and I have changed the lead and this shows no chnage.  The Printer network set-up shows an IP address of 0.0.0.0 in manual mode and if I reset this and press OK it immediately reverts to 0.0.0.0.  I've also tried putting the printer into Automatic IP address but it still fails.  Subnet Mask and Default Gateway also show as 0.0.0.0.  I can reset the Subnet Mask and Gateway to the correct levels but as soon as I go back to set the IP address they revert to 0.0.0.0.  The printer will work from a USB connection but it will then not share correctly.   Is it possible to reboot the onboard program?

    Oh, an ISP-supplied router.  Uggh.
    OK, remove the phone (DSL) cord from the back of the router.  Cycle power on the router, then attach the printer with the phone cord disconnected.
    Now, Let's set a static IP address for the printer:
    - Print a Network Config Page from the front of the printer. Note the printer's IP address.
    - Type that IP address into a browser to reveal the printer's internal settings.
    - Choose the Networking tab, then Wireless along the left side, then the IPv4 tab.
    - On this screen you want to set a Manual IP. You need to set an IP address outside the range that the router automatically sets (called the DHCP range). You can find the DHCP range of the router using its internal settings page or in its manual. Use the CD that came with your router or type the router's IP address (ends in .1) into a browser.
    - Use 255.255.255.0 for the subnet (unless you know it is different, if so, use that)
    - Enter your router's IP (on the Network Config Page) for the gateway and first DNS. Leave the second one blank.
    - Click 'Apply'.
    Now, shut down the router and printer, start the router, wait, then start the printer.
    After this you may need to redo 'Add a Printer' using the new IP address.
    Say thanks by clicking "Kudos" "thumbs up" in the post that helped you.
    I am employed by HP

  • Unable to delete internal Address via EDIT INTERNAL ADDRESSES option

    Friends,
    When I login as administrator, the EDIT INTERNAL Addresses option allow me to Add new address and change existing address. but there is no option avialable to delete internal address.
    Can any one tell me how to delete internal address from WEB GUI screens.
    Alternate way is to delete the internal address from SAP GUI business partner transaction. but i do not want user to access SAP GUI client.
    is it an authorization problem?
    Regards,
    Sandeep Parab

    Hi Sandeep
    You are correct. no way to delete address number via web.
    if you want to delete adress no. eye on adrc table.
    if you want permanently delete all adress related to BP .
    one bp is related to more adress number.
    bupa_test_delete - so if you delete one BP and may delete all adresses it linked with.
    regards
    muthu

  • Error deploying EJB on weblogic: Unable to set the transaction attribute

    Hi,
    I'm trying to deploy an application in WL10.3.2 and an error occurred during activation of changes.
    Here is the error message from the log file:
    <Jun 6, 2011 1:28:27 PM MDT> <Error> <Deployer> <BEA-149205> <Failed to initialize the application 'serverEAR-2' due to error weblogic.application.ModuleException: Exception preparing module: EJBModule(serverEJB-2.8.0.jar)
    Unable to deploy EJB: C:\oracle\Middleware\user_projects\domains\base_domain\servers\Server_3\tmp\_WL_user\serverEAR-2\1zw7ao\serverEJB-2.8.0.jar from serverEJB-2.8.0.jar:
    Unable to set the transaction attribute for method 'saveActionGroup(EditableActionGroup)' on EJB 'ViewBean'. No matching method could be found. Please verify the method signature specified in the ejb-jar.xml file matches that of your Remote interface for this EJB.
    weblogic.application.ModuleException: Exception preparing module: EJBModule(serverEJB-2.8.0.jar)
    Unable to deploy EJB: C:\oracle\Middleware\user_projects\domains\base_domain\servers\Server_3\tmp\_WL_user\serverEAR-2\1zw7ao\serverEJB-2.8.0.jar from serverEJB-2.8.0.jar:
    Unable to set the transaction attribute for method 'saveActionGroup(EditableActionGroup)' on EJB 'ViewBean'. No matching method could be found. Please verify the method signature specified in the ejb-jar.xml file matches that of your Remote interface for this EJB.
         at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:454)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:391)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:59)
         Truncated. see log file for complete stacktrace
    Caused By: weblogic.ejb.container.deployer.DeploymentDescriptorException: Unable to set the transaction attribute for method 'saveActionGroup(EditableActionGroup)' on EJB 'ViewBean'. No matching method could be found. Please verify the method signature specified in the ejb-jar.xml file matches that of your Remote interface for this EJB.
         at weblogic.ejb.container.deployer.MBeanDeploymentInfoImpl.processCTs(MBeanDeploymentInfoImpl.java:1502)
         at weblogic.ejb.container.deployer.MBeanDeploymentInfoImpl.processSpecificMethodCTs(MBeanDeploymentInfoImpl.java:1472)
         at weblogic.ejb.container.deployer.MBeanDeploymentInfoImpl.initializeTransactionAttribute(MBeanDeploymentInfoImpl.java:773)
         at weblogic.ejb.container.deployer.MBeanDeploymentInfoImpl.<init>(MBeanDeploymentInfoImpl.java:259)
         at weblogic.ejb.container.deployer.EJBDeployer.prepare(EJBDeployer.java:1190)
         Truncated. see log file for complete stacktrace
    Please help me...Thanks.

    In your ejb-jar.xml you are referring to a method saveActionGroup(EditableActionGroup) which is not defined in your remote interface.
    Maybe you have made some typo in the configuration. Check your transaction section, i.e.,
    <container-transaction>
                <method>
                    <ejb-name>ViewBean</ejb-name>
                    <method-name>saveActionGroup</method-name>
                    <method-params>
                        <method-param>package.EditableActionGroup</method-param>
                    </method-params>
                </method>
                <trans-attribute>Required</trans-attribute>
    </container-transaction>or something similar. See if the defined methods are corresponding to the methods defined in the remote interface.

  • Trying to connect my iPad Air 1 to my iPhone 5S set as a hotspot via WiFi method.  iPad sees the iPhone as wifi hotspot, but an error appears 'Remote Hotspot Failure .. Unable to start personal hotspot'.   How do I fix this issue??

    Trying to connect my iPad Air 1 to my iPhone 5S set as a hotspot via WiFi method.  iPad sees the iPhone as wifi hotspot, but an error appears 'Remote Hotspot Failure .. Unable to start personal hotspot'.   How do I fix this issue??

    iOS: Troubleshooting Personal Hotspot - Apple Support

  • Unable to connect to internet via the proxy - Proxy set up OEM 12c

    Windows server 2008 64 bit
    OEM 12.1
    I have to get agent software for Windows server 2003, and as far as I know the only way is through self update in OEM, is this the only way?
    But when I input my Oracle support credentials I get an error :
    Unable to complete network operation against My Oracle Support. Please check network connectivity to Oracle Support Site.
    Proxy settings in EOM are set for https, but not sure about the realm, I input our damain address "company.corp"
    test successful :
    https://updates.oracle.com was tested successfully using the Proxy.
    Go to set oracle support credentials error :
    Unable to complete network operation against My Oracle Support. Please check network connectivity to Oracle Support Site.
    In the emoms.log file :
    2012-07-22 18:28:50,753 [EMUI_18_28_49_/console/admin/rep/proxy/server] ERROR core.patch logp.251 - [EM-01942] Unable to connect to internet via the proxy. Http Proxy - company:80. Destination URL - https://server:proxy/emd/main/. Protocol - https. Error Message - Cannot establish proxy connection: 502 Proxy Error ( The specified Secure Sockets Layer (SSL) port is not allowed. Forefront TMG is not configured to allow SSL requests from this port. Most Web browsers use port 443 for SSL requests.  ).
    java.io.IOException: Cannot establish proxy connection: 502 Proxy Error ( The specified Secure Sockets Layer (SSL) port is not allowed. Forefront TMG is not configured to allow SSL requests from this port. Most Web browsers use port 443 for SSL requests.  )

    Please check the following section in
    http://docs.oracle.com/cd/E24628_01/install.121/e24089/firewalls.htm#EMADV626
    Enabling Oracle Management Service to Access My Oracle Support
    Unless online access to the Internet is strictly forbidden in your environment, Oracle Management Service should be enabled to access My Oracle Support. This access is necessary to enable updates and patches to be downloaded, for example.
    At minimum, the following URLs should be made available through the firewall:
    aru-akam.oracle.com
    ccr.oracle.com
    login.oracle.com
    support.oracle.com
    updates.oracle.com
    About the dontProxyfor Property
    When you configure the Oracle Management Service or a Management Agent to use a proxy server, it is important to understand the purpose of the dontProxyFor property, which identifies specific URL domains for which the proxy will not be used.
    For example, suppose the following were true:
    You have installed the Oracle Management Service and several Management Agents on hosts that are inside the company firewall. These hosts are in the internal .example.com and .example.us.com domains.
    You have installed several additional Management Agents on hosts that are outside the firewall. These hosts are installed in the .example.uk domain.
    You have configured Enterprise Manager to automatically check for critical software patches on My Oracle Support.
    In this scenario, you want the Oracle Management Service to connect directly to the Management Agents inside the firewall without using the proxy server. On the other hand, you want the Oracle Management Service to use the proxy server to contact the Management Agents outside the firewall, as well as the My Oracle Support site, which resides at the following URL:
    http://support.oracle.com
    The following properties will prevent the Oracle Management Service from using the proxy server for connections to the Management Agents inside the firewall. Connections to My Oracle Support and to Management Agents outside the firewall will be routed through the proxy server:
    proxyHost=proxy42.example.com
    proxyHost=80
    dontProxyFor=.example.com, .example.us.com
    PS: Cygwin has nothing to do with My Oracle Support connection. Cygwin is ONLY required for agent deployment using agent push from OMS.

  • WRT54G: Static mode set on WAN side, but still sometimes pulls address via DHCP!

    We've had (6) WRT54G (v5) installed in a building, for about (2) years now, with no previous problems. Now, ALL of them are doing something weird.  They are all set for Static mode on the WAN side (we have static ip addresses for these), yet every now and then they will spontaneously pull an address via DHCP on their own.  When they do this, the setting itself doesn't change.  It will still show "STATIC" in the pull down list.  But, the address will no longer be the address we assigned to the unit, and will instead appear to be an address that it pulled via DHCP.
    Thanks, in advance, for any help and insight into this strange problem.
    David

    Ah.  In that case, we're not going to put our client through the frustration of chasing a ghost in the machine.  We'll just replace them with new ones.  But, I'll try this on them in my spare time and let you know how it goes.
    Thanks for your assistance,
    David
    Message Edited by ld-systems on 09-19-2007 08:01 AM

  • Unable to set the ip address for hosted network client after creating WIFI hotspot

    Original Title: INTERNET CONNECTIVITY PROBLEM WITH MY LAPTOP WIFI HOTSPOT
    HI all
    I am able to use internet connection from my lap hotspot, when the internet source is Public or private wifi.
    so I know the cmd window commands for hotspot and settings of client(sharing to hosted network client, assigning IP address etc.,)
    but the problem I am facing is slight different
    I am using my cdma wireless broadband datacard as my source internet connection(Reliance netconnect +)
    when I try to create hotspot for this, as usual I am able to create the hotspot and able to share the internet to hostednework client.
    but I am unable to set the ip address for hosted network client, if I try to set ip 192.169.137.1 and 255.255.255.0
    as soon as I close the window, the ip address also disappears
    when connect my android phone to that hotspot, it is able to connect but there is no internet connectivity.
    when I check the hostednetwork client for packet transmission, both sent and received packet is happening., I mean transmitting
    so what cause the failure in internet connectivity but success in hotspot connectivity?
    check the screen shots...
    can u help me..
    its little complicated

    Hi,
    Please make sure the Ad hoc connection IP adress is at the same range with your local connection. In addition, how about recreate the ad hoc connection for test, please have a try.
    If problem persists, please use Network troubleshooter in Action Center to fix this problem for test.
    Roger Lu
    TechNet Community Support

  • How to synchronize Address Books and Calendar Books in Mavericks 10.9.2, I am unable to synchronize my Address and Calendar Books informations with my iPhone 4 via iTunes

    Since I updated my MacBook Pro's OS X version 10.6.8 to Mavericks 10.9.2, I am unable to synchronize my Address and Calendar Books informations with my iPhone 4 via iTunes.  What do I need to do to update these data ?

    I cannot synchronize the Address Book and Calendar data, even by means of iCloud or similar servers.  It appears these data are not selected automatically during synchronization. How can one select Address Book and Calendar Book in Mavericks for synchronization ?

  • Error NtpClient was unable to set a manual peer. DNS resolution error When using IP address.

    Hya,
    We have been migarting to some new DCs. one of the new DCs now has all the master roles call it DC01.
    when I try and sync/setup NTP on this server as the the authoritive NTP in the doamin I get:
    NtpClient was unable to set a manual peer to use as a time source because of DNS resolution error on '”10.*.*.*,0x1”'. NtpClient will try again in 15 minutes and double the reattempt interval thereafter. The error was: No such host is known. (0x80072AF9)
    I am using the following commands to set NTP up on the server.
    >net stop w32time
    >w32tm /config /syncfromflags:manual /manualpeerlist:"10.*.*.*,0x1"
    >w32tm /config /reliable:yes
    >net start w32time.
    Is anyone aware of what the issue could be?
    Ps one of the old dc can still sync to this site manually if tried.
    cheers Mike

    Hi,
    First make sure your DNS is working properly, then please try this article below:
    Event ID 134 — Manual Time Source Acquisition
    http://technet.microsoft.com/en-us/library/cc756393(v=ws.10).aspx
    Hope this helps.

  • T420s - Unable to set high resolution when on external monitor via DP.

    Sorry, let me clarify - 
    Unlike the OP, I do *not* switch back to 50 Hz on battery. However, I am running the NVIDIA beta driver. I installed this because with the Lenovo driver, the machine was not outputiting 2560x1600 over the display port. The highest resolution it would output was 2048 x 1000-something (out of the office now and don't have the exact numbers).
    So yes, with the Lenovo driver the external DP was working, just not outputting the highest resolution. Installing the Nvidia driver fixed that problem. Whether it is related or not, I don't know, but with this driver I do not get 50Hz resolution on the LCD on battery -- everything stays at 60.
    I have not rolled back to the Lenovo driver to test whethe this is reall a driver issue, but suggest that the OP try out the Nvidia driver.
    edit note: Change subject to match description.

    The unable to set high resolution issue on the T420 (not the T420s) was sent to engineering by JameZ just a few days ago. See more here. I suggest you post there or contact JameZ so they know it also occurs on the T420s.
    When asking for help, post your question in the forum. Remember to include your system type, model number and OS. Do not post your serial number.
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"! This will help others with the same question in the future.
    My TPs: Twist 2HU: i5-3317U Win 8 Pro, 4GB RAM 250GB Samsung 840 | T420 4177CTO: i5-2520M, HD+, Win 7 Pro x64, 8GB RAM, Optimus, 160GB Intel 320 SSD, Intel 6300 WiFi, BT 3.0 | T400 2764CTO: P8700, WXGA, Win 7 Ult x64, AMD 3470, 8GB RAM, 64GB Samsung SSD, BT, Intel 5300 WiFi | A20m 14.1" PIII 500 (retired). Monitors: 2x Dell U2211h IPS 100% sRGB calibrated w/ Spyder3.

  • "command disabled" when setting IP address on AIR-LAP1252G-A-K9

    Hi, I am trying to set ip address on cisco ap AIR-LAP1252G-A-K9 using the "lwapp" command but get message "command is disabled"
    I am connecting via console cable to ap. I have already reset ap to defaults.
    Not sure why I'm getting this error "command disabled" Any help would be much appreciated. Thanks

    This is a hidden command so don't try using a ?  Since your ap is a 1252, like Rasika mentioned, use lawapp instead of capwap.... you need to erase the nvram.
    The other way is this method:
    Hold reset for over 30 seconds to get to ROMMON
    ap:delete flash:private-config
    ap:delete flash:private-multiple-fs
    ap:boot
    Your AP will be factory default
    Thanks,
    Scott
    Help out other by using the rating system and marking answered questions as "Answered"

Maybe you are looking for