Cannot change the entry door of the Linux guest OS by the perl script customization

Default gateway Linux can be changed using script (modified from vmclone.pl) below.

Someone at - it gives help on this?

#!/usr/bin/perl -w
#
# Copyright (c) 2007 VMware, Inc.  All rights reserved.
#



use strict;
use warnings;



use FindBin;
use lib "$FindBin::Bin/../";



use VMware::VIRuntime;
use XML::LibXML;
use AppUtil::VMUtil;
use AppUtil::HostUtil;
use AppUtil::XMLInputUtil;



$Util::script_version = "1.0";



sub check_missing_value;



my %opts = (
   vmhost => {
      type => "=s",
      help => "The name of the host",
      required => 1,
   },
   vmname => {
      type => "=s",
      help => "The name of the Virtual Machine",
      required => 1,
   },
   vmname_destination => {
      type => "=s",
      help => "The name of the target virtual machine",
      required => 1,
   },
   filename => {
      type => "=s",
      help => "The name of the configuration specification file",
      required => 0,
      default => "../sampledata/vmclone.xml",
   },
   customize_guest => {
      type => "=s",
      help => "Flag to specify whether or not to customize guest: yes,no",
      required => 0,
      default => 'no',
   },
   customize_vm => {
      type => "=s",
      help => "Flag to specify whether or not to customize virtual machine: "
            . "yes,no",
      required => 0,
      default => 'no',
   },
   schema => {
      type => "=s",
      help => "The name of the schema file",
      required => 0,
      default => "../schema/vmclone.xsd",
   },
   datastore => {
      type => "=s",
      help => "Name of the Datastore",
      required => 0,
   },
);



Opts::add_options(%opts);
Opts::parse();
Opts::validate(\&validate);



Util::connect();



clone_vm();



Util::disconnect();




# Clone vm operation
# Gets destination host, compute resource views, and
# datastore info for creating the configuration
# specification to help create a clone of an existing
# virtual machine.
# ====================================================
sub clone_vm {
   my $vm_name = Opts::get_option('vmname');
   my $vm_views = Vim::find_entity_views(view_type => 'VirtualMachine',
                                        filter => {'name' =>$vm_name});
   if(@$vm_views) {
      foreach (@$vm_views) {
         my $host_name =  Opts::get_option('vmhost');
         my $host_view = Vim::find_entity_view(view_type => 'HostSystem',
                                         filter => {'name' => $host_name});
                                         
         if (!$host_view) {
            Util::trace(0, "Host '$host_name' not found\n");
            return;
         }
         # bug 449530
         my $disk_size = get_disksize();
         if($disk_size eq -1 || $disk_size eq "") {
            $disk_size = 0;
            my $devices = $_->config->hardware->device;
            foreach my $device (@$devices) {
               if (ref $device eq "VirtualDisk") {
                  $disk_size = $disk_size + $device->capacityInKB;
               }
            }
         }
         if ($host_view) {
            my $comp_res_view = Vim::get_view(mo_ref => $host_view->parent);
            my $ds_name = Opts::get_option('datastore');
            my %ds_info = HostUtils::get_datastore(host_view => $host_view,
                                     datastore => $ds_name,
                                     disksize => $disk_size);
            if ($ds_info{mor} eq 0) {
               if ($ds_info{name} eq 'datastore_error') {
                  Util::trace(0, "\nDatastore $ds_name not available.\n");
                  return;
               }
               if ($ds_info{name} eq 'disksize_error') {
                  Util::trace(0, "\nThe free space available is less than the"
                               . " specified disksize or the host"
                               . " is not accessible.\n");
                  return;
               }
            }



            my $relocate_spec =
            VirtualMachineRelocateSpec->new(datastore => $ds_info{mor},
                                          host => $host_view,
                                          pool => $comp_res_view->resourcePool);
            my $clone_name = Opts::get_option('vmname_destination');
            my $clone_spec ;
            my $config_spec;
            my $customization_spec;



            if ((Opts::get_option('customize_vm') eq "yes")
                && (Opts::get_option('customize_guest') ne "yes")) {
               $config_spec = get_config_spec();
               $clone_spec = VirtualMachineCloneSpec->new(powerOn => 1,template => 0,
                                                       location => $relocate_spec,
                                                       config => $config_spec,
                                                       );
            }
            elsif ((Opts::get_option('customize_guest') eq "yes")
                && (Opts::get_option('customize_vm') ne "yes")) {
               $customization_spec = get_customization_spec
                                              (Opts::get_option('filename'));
               $clone_spec = VirtualMachineCloneSpec->new(
                                                   powerOn => 1,
                                                   template => 0,
                                                   location => $relocate_spec,
                                                   customization => $customization_spec,
                                                   );
            }
            elsif ((Opts::get_option('customize_guest') eq "yes")
                && (Opts::get_option('customize_vm') eq "yes")) {
               $customization_spec = get_customization_spec
                                              (Opts::get_option('filename'));
               $config_spec = get_config_spec();
               $clone_spec = VirtualMachineCloneSpec->new(
                                                   powerOn => 1,
                                                   template => 0,
                                                   location => $relocate_spec,
                                                   customization => $customization_spec,
                                                   config => $config_spec,
                                                   );
            }
            else {
               $clone_spec = VirtualMachineCloneSpec->new(
                                                   powerOn => 1,
                                                   template => 0,
                                                   location => $relocate_spec,
                                                   );
            }
            Util::trace (0, "\nCloning virtual machine '" . $vm_name . "' ...\n");



            eval {
               $_->CloneVM(folder => $_->parent,
                              name => Opts::get_option('vmname_destination'),
                              spec => $clone_spec);
               Util::trace (0, "\nClone '$clone_name' of virtual machine"
                             . " '$vm_name' successfully created.");
            };



            if ($@) {
               if (ref($@) eq 'SoapFault') {
                  if (ref($@->detail) eq 'FileFault') {
                     Util::trace(0, "\nFailed to access the virtual "
                                    ." machine files\n");
                  }
                  elsif (ref($@->detail) eq 'InvalidState') {
                     Util::trace(0,"The operation is not allowed "
                                   ."in the current state.\n");
                  }
                  elsif (ref($@->detail) eq 'NotSupported') {
                     Util::trace(0," Operation is not supported by the "
                                   ."current agent \n");
                  }
                  elsif (ref($@->detail) eq 'VmConfigFault') {
                     Util::trace(0,
                     "Virtual machine is not compatible with the destination host.\n");
                  }
                  elsif (ref($@->detail) eq 'InvalidPowerState') {
                     Util::trace(0,
                     "The attempted operation cannot be performed "
                     ."in the current state.\n");
                  }
                  elsif (ref($@->detail) eq 'DuplicateName') {
                     Util::trace(0,
                     "The name '$clone_name' already exists\n");
                  }
                  elsif (ref($@->detail) eq 'NoDisksToCustomize') {
                     Util::trace(0, "\nThe virtual machine has no virtual disks that"
                                  . " are suitable for customization or no guest"
                                  . " is present on given virtual machine" . "\n");
                  }
                  elsif (ref($@->detail) eq 'HostNotConnected') {
                     Util::trace(0, "\nUnable to communicate with the remote host, "
                                    ."since it is disconnected" . "\n");
                  }
                  elsif (ref($@->detail) eq 'UncustomizableGuest') {
                     Util::trace(0, "\nCustomization is not supported "
                                    ."for the guest operating system" . "\n");
                  }
                  else {
                     Util::trace (0, "Fault" . $@ . ""   );
                  }
               }
               else {
                  Util::trace (0, "Fault" . $@ . ""   );
               }
            }
         }
      }
   }
   else {
      Util::trace (0, "\nNo virtual machine found with name '$vm_name'\n");
   }
}


# It returns the customization spec as per the input XML file

sub get_customization_spec {
   my ($filename) = @_;
   my $parser = XML::LibXML->new();
   my $tree = $parser->parse_file($filename);
   my $root = $tree->getDocumentElement;
   my @cspec = $root->findnodes('Customization-Spec');



   # Default Values
   my $computername = "compname";
   #my $timezone = 190;
   #my $userpassword;
   my $domain;
   my $ipAddress;
   my @gateway;
   my $subnetMask;
   my @dnsServerList;
   
  
   foreach (@cspec) {
      if ($_->findvalue('Virtual-Machine-Name')) {
         $computername = $_->findvalue('Virtual-Machine-Name');
      }
      if ($_->findvalue('Domain')) {
         $domain = $_->findvalue('Domain');
      }
      if ($_->findvalue('ipAddress')) {
         $ipAddress = $_->findvalue('ipAddress');
      }    
      if ($_->findvalue('gateway')) {
         @gateway = split (',',$_->findvalue('gateway'));
      }      
      if ($_->findvalue('subnetMask')) {
         $subnetMask = $_->findvalue('subnetMask');
      }     
      if ($_->findvalue('dnsServerList')) {
         @dnsServerList = split (',',$_->findvalue('dnsServerList'));
      }     
   }
  
   # globalIPSettings
   my @dnsSuffixList = [$domain];
   my $customization_global_settings = CustomizationGlobalIPSettings->new(dnsServerList => \@dnsServerList,
                                                                            dnsSuffixList =>@dnsSuffixList);
   my $customization_identity_settings = CustomizationIdentitySettings->new();



   # identity
   # my $password =
   #   CustomizationPassword->new(plainText=>"true", value=> $userpassword); $computername
      
   my $cust_fixname = CustomizationFixedName->new (name => $computername);



   my $cust_linuxprep =
      CustomizationLinuxPrep->new(domain => $domain,
                                hostName => $cust_fixname,
                                hwClockUTC =>"false",
                                timeZone =>"Asia/Shanghai");



   # nicSettingMap
   my $customization_fixed_ip = CustomizationFixedIp->new(ipAddress => $ipAddress);



   my $cust_ip_settings =
      CustomizationIPSettings->new(ip => $customization_fixed_ip,
                                    dnsDomain => $domain,
                                    gateway => \@gateway,
                                    subnetMask => $subnetMask);



   my $cust_adapter_mapping =
      CustomizationAdapterMapping->new(adapter => $cust_ip_settings);



   my @cust_adapter_mapping_list = [$cust_adapter_mapping];
   
   # customization spec
   my $customization_spec =
      CustomizationSpec->new (identity=>$cust_linuxprep,
                              globalIPSettings=>$customization_global_settings,
                              nicSettingMap=>@cust_adapter_mapping_list);
    #                          options=>$CustomizationOptions);
   return $customization_spec;
}



#Gets the config_spec for customizing the memory, number of cpu's
# and returns the spec
sub get_config_spec() {



   my $parser = XML::LibXML->new();
   my $tree = $parser->parse_file(Opts::get_option('filename'));
   my $root = $tree->getDocumentElement;
   my @cspec = $root->findnodes('Virtual-Machine-Spec');
   my $vmname ;
   my $vmhost  ;
   my $guestid;
   my $datastore;
   my $disksize = 4096;  # in KB;
   my $memory = 256;  # in MB;
   my $num_cpus = 1;
   my $nic_network;
   my $nic_poweron = 1;



   foreach (@cspec) {
   
      if ($_->findvalue('Guest-Id')) {
         $guestid = $_->findvalue('Guest-Id');
      }
      if ($_->findvalue('Memory')) {
         $memory = $_->findvalue('Memory');
      }
      if ($_->findvalue('Number-of-CPUS')) {
         $num_cpus = $_->findvalue('Number-of-CPUS');
      }
      $vmname = Opts::get_option('vmname_destination');
   }



   my $vm_config_spec = VirtualMachineConfigSpec->new(
                                                  name => $vmname,
                                                  memoryMB => $memory,
                                                  numCPUs => $num_cpus,
                                                  guestId => $guestid );
   return $vm_config_spec;
}



sub get_disksize {
   my $disksize = -1;
   my $parser = XML::LibXML->new();
   
   eval {
      my $tree = $parser->parse_file(Opts::get_option('filename'));
      my $root = $tree->getDocumentElement;
      my @cspec = $root->findnodes('Virtual-Machine-Spec');



      foreach (@cspec) {
         $disksize = $_->findvalue('Disksize');
      }
   };
   return $disksize;
}



# check missing values of mandatory fields
sub check_missing_value {
   my $valid= 1;
   my $filename = Opts::get_option('filename');
   my $parser = XML::LibXML->new();
   my $tree = $parser->parse_file($filename);
   my $root = $tree->getDocumentElement;
   my @cust_spec = $root->findnodes('Customization-Spec');
   my $total = @cust_spec;



   if (!$cust_spec[0]->findvalue('Virtual-Machine-Name')) {
      Util::trace(0,"\nERROR in '$filename':\n computername value missing ");
      $valid = 0;
   }
   if (!$cust_spec[0]->findvalue('Domain')) {
      Util::trace(0,"\nERROR in '$filename':\n domain value missing ");
      $valid = 0;
   }
   if (!$cust_spec[0]->findvalue('ipAddress')) {
      Util::trace(0,"\nERROR in '$filename':\n ipAddress value missing ");
      $valid = 0;
   }
   if (!$cust_spec[0]->findvalue('gateway')) {
      Util::trace(0,"\nERROR in '$filename':\n gateway value missing ");
      $valid = 0;
   }
   if (!$cust_spec[0]->findvalue('subnetMask')) {
      Util::trace(0,"\nERROR in '$filename':\n subnetMask value missing ");
      $valid = 0;
   }
   if (!$cust_spec[0]->findvalue('dnsServerList')) {
      Util::trace(0,"\nERROR in '$filename':\n dnsServerList value missing ");
      $valid = 0;
   }
   return $valid;
}



sub validate {
   my $valid= 1;
   if ((Opts::get_option('customize_vm') eq "yes")
                || (Opts::get_option('customize_guest') eq "yes")) {



      $valid = XMLValidation::validate_format(Opts::get_option('filename'));
      if ($valid == 1) {
         $valid = XMLValidation::validate_schema(Opts::get_option('filename'),
                                             Opts::get_option('schema'));
         if ($valid == 1) {
            $valid = check_missing_value();
         }
      }
   }



    if (Opts::option_is_set('customize_vm')) {
       if ((Opts::get_option('customize_vm') ne "yes")
             && (Opts::get_option('customize_vm') ne "no")) {
          Util::trace(0,"\nMust specify 'yes' or 'no' for customize_vm option");
          $valid = 0;
       }
       
    }
    if (Opts::option_is_set('customize_guest')) {
       if ((Opts::get_option('customize_guest') ne "yes")
             && (Opts::get_option('customize_guest') ne "no")) {
          Util::trace(0,"\nMust specify 'yes' or 'no' for customize_guest option");
          $valid = 0;
       }
    }
   return $valid;
}



__END__

 

You get errors? I also recommend to check the customer that has been deployed, for linux guests, there is a log file of the customization specification and I want to say its somewhere in/var/log/vmware, but I don't remember the exact name of the file. You can see what happened in and if there is no error. Also, I assume that you have looked at the list of taken guestOSes supported for customization of comments?

Tags: VMware

Similar Questions

  • Cannot change the SSL VPN customization

    Hello

    I have ASA 5520 and activate SSL VPN

    I want to optimize my portal page, removing the "Cisco SSL VPN" and put my company name and logo.

    I created a new customization, but when click on Edit to change a wen page appears but the load.

    can someone help me?

    Concerning

    If you want to change the Cisco logo for your company logo, please follow this example configuration for personalization of Portal:

    Change the logo:

    http://www.Cisco.com/en/us/products/ps6120/products_configuration_example09186a00808bd92b.shtml

    Change the title:

    http://www.Cisco.com/en/us/products/ps6120/products_configuration_example09186a00808bd861.shtml

    Hope that helps.

  • Cannot change the default mode in wscript

    In Windows 7, when I try to change the default mode of wscript, I get an error message. When I get home

    CScript //H:CScript

    the command line, I get

    CScript error: cannot change the default script host

    What should I do?

    Open command prompt w / administrative permissions (right click, run as administrator), and then run the command:
    cscript //h:cscript //s //nologo

  • Problem in running the Perl script by oracle

    Hello
    I am facing a problem in the perl script.

    «I have a perl script which is interacting with the sybase database.» We have migrated successfully to the sybase database to oracle. Now, I want to change the perl script to interact with the oracle database.
    I use code like this to the interaction of the oracle database

    Old Code with sybase database: use DBI::Sybase:GFAS;
    New oracle database code: use DBI::oracle:GFAS;

    When I execute the script perl, its display of the mentioned below error:

    Cannot find DBI/oracle.pm in @INC (@INC contains: C:\oracle\product\10.2.0\db_1)
    \perl\5.8.3\lib\MSWin32-x86 C:\oracle\product\10.2.0\db_1\perl\5.8.3\lib/mswin32
    x 86-multi-thread C:\oracle\product\10.2.0\db_1\perl\5.8.3\lib C:\oracle\product
    \10.2.0\db_1\perl\5.8.3\lib\MSWin32-x86 C:\oracle\product\10.2.0\db_1\perl\site\
    5.8.3 C:\oracle\product\10.2.0\db_1\perl\site\5.8.3\lib/MSWin32-x86-multi-thread
    C:\oracle\product\10.2.0\db_1\perl\site\5.8.3\lib C:\oracle\product\10.2.0\db_1
    \sysman\admin\scripts C:/Perl/lib C: / Perl / site / lib.) on line 4 of the hello.pl.
    BEGIN failed--compilation abandoned at hello.pl line 4.


    Anyone has any idea about this error.

    Thanks in advance.

    If you look in the oracle in the perl\site\5.8.3\lib\MSWin32-x86-multi-thread directory, you will see two directories. Once is DBI and DBD is.

    Everything you need in your perl program is a line 'using the DBI '. It will use DBD automatically as needed. You can specify the necessary connection information when you cause the DBI-> connect statement.

    I managed to connect to the Oracle database and perform DML through the software installed by default. You don't need to download and install anything else.

    I'm no expert, so maybe it lacks some features by using the interfaces supplied by Oracle, but for my needs, it sufficed to perl.

    I hope this helps.

  • Good for laptop - cannot change the ISP; keep returning to a previous provider

    Windows 7 laptop of my grandson, I'm migrating FIREFOX (excellent resource!) of my aging XP desktop. An existing Mozilla installation on the guarded device tries to connect to an ISP in Sydney (1000km) which kept out, I guess because the signal is too weak. Too far - on the Internet?

    Reinstalled my new ISP contact, reinstalled a fresh copy of Firefox, copied the old profile XP (just underneath the random string file name), but cannot change the fault. Firefox at startup tries to raise the old ISP (Sydney) and expires, and then allowing me to establish a manual connect with the ISP (my current) new.
    Perhaps a clue: in my Firefox troubleshooting info, change preferences, the browser start page is the address of 'old', with 'override mstone' ignore, what look like prints of registry entries, but I can't change all that - and maybe it's wise! An annoying secondary question: on arrival, the laptop listed no administrator user. So I am me came as an administrator, but I wonder if a past or current even Admin hidden could register (or other) entered resistant to change.

    Late discovery: the laptop is apparently infected with browser pirate btsearch.name. Search Google throws a series of removal procedures, and I'm now working through them.
    What Miss me?

    Sometimes a problem with Firefox can be a result of malware installed on your computer, you may not be aware of.

    You can try these free programs to search for malicious software that work with your existing anti-virus software:

    Microsoft Security Essentials is a good permanent antivirus for Windows 7/Vista/XP, if you do not already have one.

    More information can be found in the article troubleshooting Firefox problems caused by malware .

    This solve your problems? Please report to us!

  • Cannot change the power state of VM: internal error

    Hello

    I freshly installed OS elementary which is based on Ubuntu.

    VMWare Workstation installation worked fine, but after creating my new virtual machine with a Win 10, the same message comes to me:

    Cannot change the power state of VM: internal error

    I looked a little in the log file, found this dump was set to zero, they changed in etc/security /, but that's all I've managed to find.

    Here is my log file

    Thanks a lot for your help

    PS: I'm leaving a beginner in the Linux world, so explanation would be welcome

    Hello

    Welcome to the VMware community forums.

    I don't think that the problem is related to a beginner linux user, it's a problem triggered by a specific hardware configuration.

    If you look at your log file again, there is an error just before the vmware process attempts to core dump. The dump is a reaction to the problem.

    vmx| E105: PANIC: VERIFY bora/vmcore/vmx/main/timeTracker_user.c:238 bugNr=148722
    

    If you then put the bug number into google, you get:

    http://KB.VMware.com/kb/1227

    Which indicates in return you can set a configuration file to specify the actual frequency of your processor.

    Your processor is an Intel (r) Core i5-3570 CPU @ 3.40 GHz

    The linux variant of the config.ini file they speak on windows hosts is/etc/vmware/config

    --

    Wil

  • Moved from VM with Snap Shots, doesn't start: cannot change the power state of VM: internal error

    Hello

    Last week, I decided to move from a Windows host based Linux system. So I went through my VMs their power off and copied to another drive. I then installed 7 Centos and reinstalled VMWare Workstation 12 re-imported the virtual machine in VMWare and I tried to start.

    I received the following message...

    "Cannot change the power state of VM: internal error.

    Suspicious, I looked at the folder that contains the machine virtual and noticed it contained snapshots. DOH!

    I guess it is pretty bad, not sure where to start?

    Any help would be appreciated.

    Thank you

    James

    I copied VM, with and without clichés, without problems. Have a few running on OSX Fusion so

    The first thing I would check would be for folders and .lck files. If so, remove them.

    Lou

  • Cannot change the incoming mail server. no text highlight

    I am unable to send mail from my Mac.  No problem with iphone or iPad. Cannot change incoming mail server as text is not highlighted.  Cannot change the server for outgoing (SMTP) mail. Cannot change the list of SMTP servers. Says offline.

    Hi Granny Smith 1.

    Thank you for using communities Support from Apple. Sorry to hear that you are having problems with mail. It's a little bit clear exactly what you see when you say that you cannot change any server info, but if you continue to have problems sending or receiving mail, you will find the troubleshooting steps in the following article useful:

    If you cannot send or receive e-mail on your Mac - Apple Support

    Kind regards.

  • Cannot change the Apple ID

    I'm changing my Apple ID, but when I try to change ID, it does not show the ability to 'change e-mail address '.  How can I get that option?

    You cannot change the name of the device.

    Sign of your ID, then click on my Apple ID and change the ID (you can not change if it's an address to iCloud)

  • change my phone number and cannot change the keychain

    Dear,

    gently, I changed my phone number and cannot change the keychain

    You try to make the change in the preferences/iCloud/Keychain/Options of the system? What happens when you try?

    City link below.

    • The device that uses the SMS compatible phone number you provided when you set up first iCloud keychain. A verification code is sent by SMS to the phone number. If you can not access this number, Contact the Support of Apple, which can verify your identity so that you can run the installer on your new device.

    Frequently asked questions about iCloud Keychain - Apple Support

  • Cannot change the Google search bar

    In Safari, I go to Google.com and do a google search. So far so good.

    Now, on the search results page, I try to edit the search in the Google search bar and nothing happens - the Google search bar is totally insensitive. To do another search, I use the address bar in Safari or reload google.com.

    I have deleted history, deleted all the data of the Web site, disconnected plugins and extensions, deleted the cache via the menu Developer. I used 3 CleanMyMac to clear and reset everything.  I can't solve the problem.

    Safari 9.0.2 (11601.3.9)

    OS X El Capitan 10.11.2

    Mac Mini (late 2014)

    A

    Please see below:

    Cannot change the Google search criteria in Safari

    B

    'CleanMyMac' is a scam and a frequent cause of instability and poor performance. Depending on which version you have, the developer's instructions may not completely uninstall. Please follow these instructions, then do as below.

    Please, back up all data before proceeding.

    Triple-click anywhere in the line below on this page to select this option:

    /Library/LaunchDaemons/com.macpaw.CleanMyMac2.Agent.plist

    Right-click or Ctrl-click on the highlighted line and select

    Services ▹ reveal in Finder (or just to reveal)

    the contextual menu.*, a file can open with a selected item. If so, move the selected item to the trash. You may be prompted for administrator login password.

    Repeat with this line:

    /Library/PrivilegedHelperTools/com.macpaw.CleanMyMac2.Agent

    Restart the computer and empty the trash.

    You may also delete one or more of these elements in the same way:

    ~/Library/LaunchAgents/com.macpaw.CleanMyMac.helperTool.plist
    ~/Library/LaunchAgents/com.macpaw.CleanMyMac.volumeWatcher.plist
    ~/Library/LaunchAgents/com.macpaw.CleanMyMac3.Scheduler.plist

    Never install "CleanMyMac" or something like that.

    * If you do not see the item context menu copy the selected text in the Clipboard by pressing Control-C key combination. In the Finder, select

    Go ▹ go to the folder...

    from the menu bar and paste it into the box that opens by pressing command + V. You won't see what you pasted a newline being included. Press return.

  • USB 6009 CANNOT CHANGE THE CONFIGURATION OF TERMINAL TO CSR... Can't SEE not the OPTION configure when right-click on the device...

    USB 6009 CANNOT CHANGE THE CONFIGURATION OF TERMINAL TO CSR... Can't SEE not the OPTION configure when right-click on the device...

    Once again... Thanks for the tips...

  • I signed on XP Pro SP3 as an administrator but you cannot change the timing of Windows Update to 03:00. All options are not enabled. How can I change the time, updates are made? __

    I signed on XP Pro SP3 as an administrator but you cannot change the timing of Windows Update to 03:00.  All options are not enabled.  How can I change the time that updates are made?

    Hi imoffshore,

     

    Welcome to Microsoft Answers Forums.

    We would like to get some more information from you to help solve your problem. You better, please answer the following questions.

    ·         When was the last time it worked?

    ·         Remember to make changes to the computer recently?

    ·         You have security software installed on the computer?

    ·         You get the error message?

    When you open the tab automatic updates in the control panel or My Computer property sheet, all options of configuration of the automatic updates may be grayed out. This happens due to one of the following reasons:

    1. You are not logged as administrator (or equivalent)
    2. Strategy of automatic updates is enabled
    3. Automatic updates (and Windows Update) access is blocked by group policy

    The options available for automatic updates.

    You must make some changes in the windows registry.

    Important: this section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click on the number below to view the article in the Microsoft Knowledge Base:

    How to back up and restore the registry in Windows

    http://support.Microsoft.com/kb/322756

    • Click Start, run and type REGEDIT to . EXE
    • Go to this location:

    HKEY_LOCAL_MACHINE-SOFTWARE-policies-Microsoft-Windows------WindowsUpdate------AU

    • In the right pane, delete the two values AUOptions and NoAutoUpdate
    • Go to this location:

    HKEY_CURRENT_USER-SOFTWARE-Microsoft-Windows-CurrentVersion------policies------WindowsUpdate

    • In the right pane, delete the DisableWindowsUpdateAccess value

    Using the Group Policy Editor - for Windows XP Professional

    • Click Start, run and type gpedit.msc
    • Navigate to the following location:

    => Configuration of the computer
    ==> Administrative templates
    ===> Windows components
    ===> Windows Update

    • In the right pane, double-click Configure automatic updates and set it to not configured
    • Next, go to this location:

    => User configuration
    ==> Administrative templates
    ===> Windows components
    ===> Windows Update

    • In the right pane, set to remove access to all Windows Update features on not configured

    Change how Windows installs or notifies you of updates

    http://Windows.Microsoft.com/en-us/Windows-Vista/change-how-Windows-installs-or-notifies-you-about-updates

    Halima S - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • You cannot change the format of the cursor

    Original title: mouse cursor

    Cannot change the format of the cursor; message says no file found - for example, C:\WINDOWS\Cursors\arrow\_rl.cur

    _rl.cur is not a slider that comes with XP. Nor is the folder named arrow. You must have installed a 3rd slider party system and I guess you are trying to change that.
    Try to reinstall it.

  • Error: Windows cannot change the password when attempt to set a password to connect to the Windows XP computer.

    Original title: Windows cannot change the password.

    I'm trying to set a password on my computer with windows xp professional and everytime I try, I get a message saying: Windows cannot change the password. Please can someone help me.

    With our thanks

    Elizabeth

    Hi Elizabeth,.

    You can follow this link & check if the problem persists:

    Impossible to change the password for the administrator account in user accounts in Control Panel

    Hope the helps of information.

Maybe you are looking for

  • Pavilion g6 2337sr: upgrading laptop

    Want your laptop to another more powerful processor, tell me is it possible to do it in this computer model laptop 'hp Pavilion g6 2337 sr.And please tell me taking my laptop and what processor will fit an upgrade. Write through a translator - I'm so

  • Need help with implementing DLL based on LabVIEW below call Lib

    Here is the list of C functions in the doc that I have, but I don't get the right result. I need help to understand how these features and how to configure it in LabVIEW Parameters voltType[in] Specifies a voltage detector to get the value of. There

  • You can replace a laptop with another keyboard?

    I have a laptop with a Spanish keyboard, but I want to replace it with an English. Can you do this and if so, how? www.laptopkeyboardsworld.com

  • What is the largest usable by the "FLARE" microsdhc card?

    I know other mp3 players or phone can only extend to 4 GB or more, is there a limit to the size of the microsd card that can handle the "rocket"?

  • Get a simple device to work in QML

    Hey, I use the QML code from the site of the developers here: https://developer.BlackBerry.com/native/documentation/Cascades/graphics_multimedia/camera/qml_code_s... But just using the QML does nothing and I get the toast in the code that says "no ca