prnport.vbs to add and select the port

I have the following script, where he creates a port of the printer, for example, 10.10.21.22. He created the port, but then I have to manually select the port in devices and printers. How do I update the port also?

There is a r - updated the port, but it does not work. It is said:

Unable to parse the command line. Error 0x1C9 this key is already associated with an element of this collection

https://TechNet.Microsoft.com/en-us/library/cc754352 (v = ws.11) .aspx

$GetPrinterIP = Read-Host "Enter printer IP address"
$PrnportVBS = cd C:\Windows\System32\Printing_Admin_Scripts\en-US
Cscript Prnport.vbs -a -s $env:COMPUTERNAME -h $GetPrinterIP -r $GetPrinterIP -o raw -n 9100

Hi Tony,.

The complexity of your concerns, we will have to refer to our Technet forums. Our experts will be happy to help you get the right answer for this case.

Kind regards.

Tags: Windows

Similar Questions

  • Impossible to navigate to and select the menu buttons during playback of DVD on TV

    I use DVD Studio Pro 4.2.1 on iMac OS 10.6.8 (using old BONES of FCP 6.0.6).

    I have two DVD players for my TV and a Sony DVP-NS57P-GE GE1105P.

    For the video I created, I have two buttons on the main menu 1, 'Play' and 'Chapters' which goes to menu 2 with my links 7 chapters. This perfect mode DVDSP simulate all the works by clicking on these buttons, but I can not click on these buttons of menu 1 with one of my remotes for DVD player when viewing on TV. Movies usually have a menu with buttons like play, scenes, etc. that I can navigate to with my remote.

    Remote controls work fine, I can use its buttons to move to the previous or next chapter while the video plays and the Sony has a strange menu page of access to the chapters but it would be awkward and should not be necessary. I just want someone to be able to navigate on my menu page 1 and select the link to chapters. Not really concerned about "play" button since someone can click play on the remote control.

    So, I apparently need to change a few settings DVDSP. What I'm missing here? Google it and I tried manual DVDSP, but no luck.

    Thank you very much.

    Jim

    No function edit posts, so I have to put this in a response, I guess. This layout of the forum is so bad, was so much better several years ago. It's looking like my post does not get a response for a reason, but in the cases where it does, I need to update.

    It seems that I am able to navigate to these buttons, I just couldn't see that because the 'Selected' colors, I put to them do not work. I have all the colors of the selection state set for Normal, selected and active. When I use my DVD in my sell order DVD or mode DVDSP simulate with button style control remotely to this topic, when I browse to the top, bottom, left or right, nothing to change the color of links, so there is no way of knowing when I am on a link (I have 9 on a single page) and you want to select and then press ENTER.

    I've hunted throughout the manual, google, YouTube and cannot find the answer to this problem.

  • I have a program that I can't remove. its not in Add and remove the progeams

    I have a program that I can't remove. its not in Add and remove the progeams

    It may be a small program which do not present in the Add Remove Programs list.

    Try to get into the programs folder, and then delete the folder with the name of the program on this subject.
  • After that I have enter my serial code # and select the location in which to install Lightroom, I click on install.  Windows asks if I want to leave, I say Yes.  Then it starts installing but quickly gives a screen Installation failed

    After that I have enter my serial code # and select the location in which to install Lightroom, I click on install.  Windows asks if I want to leave, I say Yes.  Then it starts installation but quickly gives a failed Installation display The error summary of files gives me no information.  Any ideas?

    Thank you, but I thought about it.  I have to select "Run as Administrator" on the installer so that it works correctly on Windows 8 Pro.  FYI just when it happens again.

  • How to remove the old version of outlook express where we cannot find in the box add and remove the program.

    I have a version of outlook 2007 and I would like to delete the old version of outlook, the old version is not appear in the add and remove program.what can I do?

    Hello

    It's actually a bit more complicated to do than of simply by clicking a button. Is there a particular reason you want to uninstall OE? It mgith be easier to leave and have Outlook 2007 works as your main e-mail program.

    If you do not want to uninstall, follow the detail what posted here.

    Log in your computer. Make sure that your account has administrative rights. Your CD-Rom drive must be empty. Remove any disc which can be inside.

    Double-click the "My Computer" icon on your desktop. Go to the 'Tools' menu and select 'Folder Options '. Click on "display".

    Go to the section "hide files and folders. Click on 'display the hidden files and folders '. Check the option "Hide extensions of known file types" to clear it. Click on, and then clear the checkbox "Hide protected operating system files." A dialog box with a warning message is displayed. Click on the Yes"" button. Close the "Folder Options" window by clicking "OK".

    Click on the button 'start '. Go to "Programs", then "Accessories". Choose "Windows Explorer".

    Find the following three files on your computer:
    1 C:\Program Files\Common Files\Microsoft Shared\Stationery
    2 C:\Documents and Settings\votrenomutilisateur\Application Data\Identities (or C:\Documents and Settings\YourUsername\Local Settings\Application Data\Identities)
    3 C:\Documents and Settings\YourUsername\Application Data\Microsoft\Address Book (or C:\Documents and Settings\YourUsername\Local Settings\Application Data\Address Book)

    Each of the folders that you located just rename. Click a folder, and then press "F2". Rename the files to: "old_stationery', 'old_identities' and"old_address." When you're done, rename each file, click on "Enter".

    Click again on 'Start' and select 'run '. In the "Open" box, type "regedit".

    Locate the following registry keys. Right click on each registry key and then select 'delete '.
    HKEY_LOCAL_MACHINE\Software\Microsoft\Outlook Express
    HKEY_LOCAL_MACHINE\Software\Microsoft\WAB
    HKEY_CURRENT_USER\Identities
    HKEY_CURRENT_USER\Software\Microsoft\Outlook Express
    HKEY_CURRENT_USER\Software\Microsoft\WAB
    HKEY_LOCAL_MACHINE \Software\Microsoft\Active Setup\Installed Windows\ {44BBA840-CC51-11CF-AAFA-00AA00B6015C}
    HKEY_LOCAL_MACHINE \Software\Microsoft\Active Setup\Installed Windows\ {7790769C-0471-11D2-AF11-00C04FA35D02}

    Exit the registry editor. Click on "Start" and click on "search". Click on "for files and folders.

    Find the following files on your computer:
    Inetcomm.dll

    C:\windows\system32\msoeacct.dll
    Msoert2.dll
    MSOE.dll
    Msoeres.dll
    MSIMN.exe
    Oeimport.dll
    OEMIGLIB.dll
    Oemig50.exe
    Setup50.exe
    WAB.exe
    Wabfind.dll
    C:\windows\system32\dllcache\wabimp.dll
    Wabmig.exe
    Csapi3t1.dll
    Directdb.dll
    Wab32.dll
    Wab32res.dll

    Click on each file and press 'F2 '. Rename each file to "filename. Old"(for example, inetcomm.old). Then press 'enter '. That, for each of the files listed in step 10. When Windows prompts you on the protection of the files, click "Cancel". Do not insert the Windows CD in your CD-Rom drive. When Windows prompts you to not recognize the file, click 'yes '.

  • iTunes command-L shows the current song and selects the entire library

    I am running iTunes on OS 10.10.5 12.4.1.6.  command-L takes me to the current song, but select the entire library to play the next song.  In other words, if I chose a genre, artist or album to play and I command-L to see the current song, iTunes deselects the genre, artist or album and selects rather my entire library to play the next song.  command-L did not work that way - the genre, artist or album has been selected and the next song played would continue to be of the type selected, artist or album.

    Someone has a solution for this, or is this a bug in iTunes 12.x.x?

    Hello jjnorris,

    Thanks for this info. I know that having the command-L keyboard shortcut doesn't work only in iTunes isn't the Apple experience you expect. Command-L should show the currently playing song in the list according to shortcuts - using iTunes Web site.

    After testing, I wasn't able to reproduce your problem in the same version as yours. The next step would be to re - install iTunes for this refining: OS X Yosemite: reinstall the applications that came with your Mac

    Thank you for using communities Support from Apple.

  • best way to add and change the menu all programs without turning off UAC?

    I just download HJsplit, as someone has sent me a video file into segments to overcome the limitations of attachment size. HJsplit doesn't require installation, but UAC is actually prevents me from adding it to the start menu.

    What would be the 'proper' normal procedure to add it to the menu all programs on the start menu, preferably in an existing folder, called "utility" without having to go through two reboots to turn UAC on or off?

    If there was a previous version of Windows 95 and XP, I would have included the word "shortcut" in the paragraph above.

    Essentially the same as option B in my two ways, but without the use of the command prompt to start the Explorer. I must have accidentally deleted the icon from the Windows Explorer of my account administer as I find it, but it appears in my standard account and backup my admin account.  Thank you, he let discover me the missing icon, and I fixed it.

  • computer not boot vista windows after moving it __error message: reboot and select the right Boot device.___or Insert Boot Media in selected Boot device and pressed key__

    My computer worked fine Windows Vista Home Premium. I stop him, he moved to another room, reconected everything and now it won't start. I just got this message:

    First: Hardware Monitor with a lot of temperature and tensions etc.

    Then: Reboot and select proper boot device.

    or insert media in selected Boot device key start and pressed

    You will probably have to open the computer case and check the cable from hard drive, graphics card, RAM, etc., to make sure everything is neat and tight fitting.

    Remove cards, and then reinstall them using to ensure that they are properly installed.

    See you soon.

    Mick Murphy - Microsoft partner

  • Photosmart B110 - retain and retrieve the PORT settings

    I have contected to the printer wireless to my laptop (HP, also), but whenever I start the printer, port, it connects via has changed the parameters of the laptop.  The only way I can find the port is to print a report without thread - which is a waste of ink/paper.  Is there a way to force the port changes not (preferred), or to find the number of port without printing.  I have no other wireless devices, so there is no reason that I can see the change.

    Yes.  You can set a static IP address on the printer and it will be forced to keep the same IP address, until what tell you him to change.  This document includes the steps you need for IP address static and other measures to stabilize the connection of the printer wireless.  Let me know what happens.

  • I chose the wrong option to install Windows. How do I delete and select the option of correction?

    I installed windows incorrectly

    I download windows to a brand new computer that I just finished building. I go through the download process and realized that I didn't click at the right way to download it when he asks you to upgrade ore the other option. I wonder how I can get windows of my computer so I can download it again properly please help.

    If your computer comes with a qualifying previous license such as Windows Vista or Windows XP and the certificate of authenticity is still attached to the machine in good condition, then the COST is reason enough to represent the compliance to the software license agreement. No previous required software installation, which means you can do a clean install with Windows 7 Upgrade disk.

    How to do a clean install with upgrade disc:

    Boot from the Windows 7 DVD

    Click Install now

    Accept the license agreement

    When the option is displayed to select a type of installation, click (Custom advanced)

    Click on drive Options

    Select the disc/s click on Delete

    Click new

    Click on apply

    Click OK

    Click Format, and then click next to proceed with the installation

    Skip entering your product key Windows 7 and complete the installation.

    When you reach the desktop, click Start, right-click on computer

    Click on properties

    Scroll down to the Windows Activation

    Click the link x days before activation.

    Click on the link that says: "show me other ways to activate.

    Enter the product key

    Click next

    Select the Activation of the phone

    Click Next when you enter your key page

    Select your country

    Click Next, call the number listed

    Be sure to explain your situation to the Appeals Officer.

    Provide the installation generated when ID requested by the call agent

    They give a confirmation ID in return, enter it

    Click next to complete the activation.

    However, the requirements for the media upgrade is that you have an operating system already eligible such as Windows XP or Vista installed to use it. Since the Windows 7 end user license agreement.

    15 UPDATES. To use upgrade software, you must first be licensed for the software that is eligible for the upgrade. After the upgrade, this agreement takes the place of the agreement for the software that you upgraded. After upgrade, you can no longer use the software that you upgraded.

    So, if you are always denied, you will just have to reinstall Windows XP or Vista and let it do the verification of eligibility.

  • When I create any object and select the object I can't resize

    Hello

    I have a version of the track of the Illustrator, something I problem with my selection tool when I select any object or text I can't resize it there are no show any option for this, happens on the last day. I have reset my Illustrator, but it still has problem. Please give me a solution.

    Thank you

    umangkansagra,

    How about Ctrl / Cmd + Shift + B to switch between showing and hiding the bounding box?

    Absence of any (other) cause/cure, try the list:

    Sometimes, (some) things may fail or stop working for no apparent reason. When (other) possible reasons/remedies do not work, it is perhaps a kind corruption (temporary or permanent), or even preference settings which disturbs, which can be cured with something on the following list put in place in order to provide a catch-all solution for otherwise intractable cases. It starts with a few easy suggestions and safe) 1 and 2) for cases less serious and goes two ways 3) and 4) to reset the default preferences (easily but irreversibly and more laboriously but more completely and also reversible), then follows a list 5) various other possibilities, and it ends with a complete reinstallation 6). If no other suggestion doesn't work, or if no other suggestion appears, you can start on the list and decide how to go or who can apply.

    The following is a general list of things, try when

    (A) the question is not in a specific file,

    (B) you have a printer installed, connected and turned on if it's a physical printer (you can use Adobe PDF/Acrobat Distiller as a printer by default without the need to have a printer on, of course you will need to specify when you really need print on paper), and

    (C) It is not caused by problems with opening a file from external media (see below).

    You tried/made some of them already; 1 and 2) are easier for temporary strangenesses and 3) and 4) specifically may be corrupted/inconvenient preferences); ((5) is a list in itself and 6) is the last resort.

    If possible / there is, you must record a current work first, of course.

    (1) close Illy and open again.

    (2) restart the computer (you can make up at least 5 times);

    (3) close Illy and press Ctrl + Alt + Shift / Cmd + Option + shift during startup (easy, but irreversible);

    4) move the folder (follow the link with this name) with closed Illy (more tedious but also more thorough and reversible), for CS3 - CC you can find the file here:

    https://helpx.Adobe.com/Illustrator/KB/preference-file-location-Illustrator.html

    5 look through and try the relevant among the other options (click on the link with that name, item 7) is a list of the usual suspects among other applications which can disturb and confuse Illy, point 15) applies to the maybe CS5, CS6 and CC);

    Even worse, you can:

    6 (A) uninstall (check the box to delete the preferences, if any), B) run the cleanup tool (if you have CS3/CS4/CS5/CS6/CC) and C) reinstall. It is important to use this step three way: otherwise, things may persist.

    http://www.Adobe.com/support/contact/cscleanertool.html

  • Dynamically add and remove the Train stop with the version 11.1.2.3

    I found examples with older versions, such as http://adfpractice-fedor.blogspot.com/2011/12/dynamic-adf-train-showing-train-stops.html.

    But they do not work in 11.1.2.3.

    It seems that the API have changed considerably.

    Please advise a similar example based on the model of the API for 11.1.2.3

    Thanks in advance for your help.

    Hello

    I have a requirement to add dynamically different trains stop during execution, that are not part of the workflow at design time. I would like to build the train running, depending on various conditions that occur. Is this possible?

    Train stops are removable only from the model train before the rendering of the first view, i.e. during the initialization of the workflow task. At a later stage, you can not delete but hide stop. The train model is created during initialization of workflow too and any train stop, which is not part of the virtually nonexistent model. In your case I think that creating a model personalized train from the ground upward and using this train are the way to go. The default metadata workflow task based implementation does not seem to do what you need it for. Alternatively, if you can predict the maximum number of train stops, you can design them at design time, and remove those that you need not during execution using a HashMap of reference in the configuration of the train stop and check the values of the hash table initialization.

    Here is a write up on top of the trains I've done in the past: http://www.oracle.com/technetwork/issue-archive/2011/11-sep/o51adf-452576.html

    More documents that you will find on http://www.oracle.com/technetwork/developer-tools/adf/learnmore/index-101235.html ADF Code corner (just search train)

    Frank

  • Add and change the number of CPUS

    Hello

    I have a few virtual machines and they were imported directly from the physical to virtual. Now they have the same number of CPUs and Physics (4 cpu), is to limit my ability to put HA clustered virtual machines. could I just changed the cpu and the CPU to 1 total change? It is recommended or any negative impact? and in the case where I experience any performance issue would add more cpu, the problems that I could wait here?

    THX

    within the device manager click on the plus sign by computer, and you should use a HAL uniproccesor

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

    Also, don't forget FT supports only 1vCPU customers.

  • "the local site folder" field adds------and emits the error that / is not a valid path component

    Attempt to create a new Site, new service Site guest fields for the Site name and Site Local folder.  However, the first time I filled these fields I ended up accidentally a URL with the-character.  Now, whenever I try to fill these fields with the correct URL the DW application adds that-until the end of the field Site Local file and then issues an error message / (Yes, not the same character) is not a valid path component.  I deleted the WinFileCache*.dat file, deleted Internet Explorer saved files and restarted the computer, but the error persists.  Any ideas short of reinstalling DW?

    First of all, I would like to back in Nancy on (almost) all aspects of DreamWeaver! She has the knowledge and experience that I can only aspire to.

    But let me remind you that it is useless to "Set" your sites in order to use DW! DreamWeaver works just plain file with the previous folder/file structure of your machines operating system.

    At one point, I got maybe about 20 active sites running and I use DW to edit and update ALL the. I defined sites... ZERO!

    OK, I'm out of the closet! I am a user of non-traditional DW!

    As I use it, I don't really know the benefits of 'set' a site. Everything that DW can do by defining a site can also be done otherwise.

    So please don't feel that just because you have problems, define a site, that DW can work for you.

    DW can open and edit files on any drive on your computer. DW can bind to any other file on your computer with the "Point to File" function in the properties panel (images, Web pages, etc.).

    And for the FTP, I suggest you a true FTP program, such as Filezilla or SmartFTP... stronger and more versatile than the built in FTP of DW!

    So if for some reason, you feel that you need to "Set" your sites... go!

    But also realize that the 'Definition' of a site is not required to take advantage of the majority of the DW.

    Best wishes

    Adninjastrator

  • How to join the update and select the statement?

    Hello..

    As an example, I have a data as below:-
    Number Error_code
    B78 096666287111
    095476785 111 B78
    095478551 111 B78
    095478550 111 B78
    095738629
    095738629 111 B78
    095738629 111 B78
    064915145 111 B78

    My question is how can select any number of the table with more number of 10 numbers and Error_code = B78. Then, truncate all bumber to more than 12 digits and set the error_code = null.

    My result
    Number Error_code
    096666287
    095476785
    095478551
    095478550
    095738629
    095738629
    095738629
    064915145

    Thank you
    Balleur

    Ballet wrote:
    Hello..

    I want to talk about the number as below:-
    Select * '096666287111' * no, error_code 'B78' Union double all the
    Select * '095476785111' *, 'B78' from dual union all
    Select * '095478551111' *, 'B78' from dual union all
    Select * '095478550111' *, 'B78' from dual union all
    Select * '095738629' *, "of all the double union
    Select * '095738629111' *, 'B78' from dual union all
    Select * '095738629111' *, 'B78' from dual union all
    Select * '064915145111' *, 'B78' from dual

    The total number as above would be not fixed because the table will be updated daily.

    Did you read my post. I told you it's just one example of data you can ignore the with totally would adopt.
    >

    What the update?... How can I update the exisitng with the output data?

    Here is a detailed example.

    SQL> create table t
      2  as
      3  select '096666287111' no,'B78' error_code from dual union all
      4  select '095476785111','B78' from dual union all
      5  select '095478551111','B78' from dual union all
      6  select '095478550111','B78' from dual union all
      7  select '095738629','' from dual union all
      8  select '095738629111','B78' from dual union all
      9  select '095738629111','B78' from dual union all
     10  select '064915145111','B78' from dual
     11  /
    
    Table created.
    
    SQL> select * from t
      2  /
    
    NO           ERR
    ------------ ---
    096666287111 B78
    095476785111 B78
    095478551111 B78
    095478550111 B78
    095738629
    095738629111 B78
    095738629111 B78
    064915145111 B78
    
    8 rows selected.
    
    SQL> update t
      2     set (no, error_code) =
      3  (select no, error_code
      4     from (select rowid rid,
      5                  case when length(no)>=12 then substr(no,1,9) else no end no,
      6                  case when length(no)>=12 then null else error_code end error_code
      7             from t
      8            where error_code = 'B78'
      9              and length(no)>10) t1
     10    where t.rowid = t1.rid)
     11   where exists(select null from t t1 where error_code = 'B78' and length(no)>10 and t.rowid = t1.rowid)
     12  /
    
    7 rows updated.
    
    SQL> select * from t
      2  /
    
    NO           ERR
    ------------ ---
    096666287
    095476785
    095478551
    095478550
    095738629
    095738629
    095738629
    064915145
    
    8 rows selected.
    

    I hope that now get you what I'm doing.

Maybe you are looking for