Automatic Rename of workstation after re-imaging

I am trying to determine why my laptops are not keeping their names or at least renaming themselves as a process of the ZEN Imaging we do with our students laptops. The re-image process and rebooting of the laptop after re-imaging works correctly. The only issue is that the laptop does not keep its name and reverts to the name within the image used. I have pasted in a section of the "imenu" we using in selecting the appropriate image.
fi
sleep 5
img rp $PROXYADDR //$PROXYADDR/images/hsvostro1000.zmg ;
zisedit Computername=$WSNAME ;
echo -e " \033[31mRebooting computer! \033[0m" ; reboot -f ;;
4 ) if [ -n "$(zisview ComputerName)" ]; then
WSNAME=$(zisview ComputerName)
else
echo -e "No Safedata"
while test ! $WSNAME; do
echo -n "Please enter the workstation name:"
read WSNAME;
done
I have even used this line after to replace my "original" zisedit command after reading a post in the forums that it worked on their Dell laptops. But it fails just like the script displayed above.
zisedit ComputerName=$WSNAME$D$SN DNSHostName=$WSNAME$D$SN WindowsWorkgroup=$WSNAME DNSSuffix=usd376.com JustImaged=True ;
Thanks in advance for your assistance!

Originally Posted by thsundel
I believe this is the one you are looking for: Workstation Name Changer
Thomas
Yes, I found that. And I now have a good solution in place. Only thing, it'd be nice to be able to specify an Action (or at least an agent refresh) after pressing the Submit button of the CDF.

Similar Messages

  • Automatic renaming of clips after linking....

    Working on a Dual System production, where I roughly line up the videofiles (EOS 5D converted to ProRes LT) including guide audio with the multitracked audiofiles (poly). Sync using Plural Eyes, and some manually. After sync is matched, I link the videoclip with the audio to get a new Master clip. This USUALLY do no harm to the original clipnames, but recently a lot of the audioclips got renamed after the videoclip....all by itself! Or not???! It's not consistent, but I cannot recall I've done things in another way when it happens. It's extremely important that the audioclips keeps their original name after linking, because of audio post i Pro Tools afterwards. When I unlink a new MasterClip, select an audio clip and check the Source - the original filename is there. But how can I revert all these renamed files back to it's sourcename? Found some similar cases here on AD, but with no luck yet. Exported a sequence as XML and imported into a new, fresh Project. Same names on all clips a before.... Exported an OMF 2.0, but it created only new audiofiles based on the NOT WANTED clipnames. Anyone??? Thanks.

    andy chastney wrote:
    Hmm, so to recap, you cannot rename clip names after file names correct?
    correct
    have you checked permissions on that disc? you can read and write to it yes?
    yes
    and after using pluraleyes the synced sound wavs get renamed to the same name as the video file that your syncing to?
    no, it happens either after linking the new (seperate recorded) sound to the video (most of the time), and/or making a cut. This occurs at random; there is a soundfile in the synced sequence that changes its name to the video when I cut it with the blade - first part stays correct, but with second part the soundfile copies its name from the video. Yesterday it was even the other way round. Cleaning up parts in the synced sequence I made cuts and the video after that cut got the same name as the seperate soundfiles.
    are you sure that the new sound is actually there? its not just lost the pluraleyesed combination has it and you're seeing the unlinked version? sorry if those sound daft questions but just covering basics.
    Yep sound is there, I have a masterdisk, copies everything to the FCP disk
    Ive not used pluraleyes, but it sounds to me like either a disc permissions thing or some funny combo of fcp and pluraleyes, have you checked with pluraleyes to make sure of compatability with your vers of FCP?
    using both last version but I did not inform Pluraleyes yet if they're familiar with the problem
    sorry cant be of more help at the mo, hopefully someone will chime in soon with a solution
    Andy
    Youve been more than kind!!
    TNX

  • Batch Rename Raw Files After Import?

    Can you batch rename raw files after you import, so that the file name changes in Aperture and on the hard drive? I want to be able to edit images, and then rename only the keepers. This has been asked before here, but I could not find an answer.
    Thanks!

    File -> Export, Kind: Original
    When you import a Raw to iPhoto it automatically creates a jepg preview of the file. Why? Because you cannot do anything with a Raw: you cannot print it, use it a slideshow and so on. However, with this preview you can work with the photo immediately.
    You can, however, also process the Raw in iPhoto simply by editing it. The Raw processing engine in iPhoto the same one used in Aperture, but with less fine control. (Think of the differences between Word and TextEdit, iMovie and Final Cut). The output from the processing then replaces the preview. You can choose to save your output as either jpeg or tiff in the iPhoto Preferences.
    When you are processing Raw in iPhoto you will see the Raw badge on the bottom of the iPhoto Window
    Uploaded with plasq's Skitch!
    Note: After you have processed a Raw, subsequent edits to the photo are carried out on the processed jpeg (or tiff) not the Raw. If you want to go back to the original then you need to use the Photos -> Reprocess Raw command.
    Aperture works in an entirely different way. What are you trying to do, exactly?
    Regards
    TD

  • Automatic renaming of columns

    Hi,
    Due to new busines requirements, I have to comment couple of tables in the query object. When I start compiling after commenting out the conditions and tables, it starts throwing errors BAD BIND VARIABLE xxx NOT DEFINED. Report has automatically renamed a lot of columns by itself, for e.g. a column called name has been renamed to name1. There are PL/SQL programs which refer the column name. Now when I attempt to compile the report it starts throwing the error BAD BIND VARIABLE name NOT DEFINED because it has been renamed to name1, automatically by reports. I am baffelled at this as the columns does not have any relationship to the commented out tables. Is there a way to avoid this.
    Thanks,
    Bharath

    The best way to avoid this is to alias the columns in the query. Whenever you make a change to the query, reports reparses the query. If other columns exist with the same name then a numeric suffix will be added. You could also apply the latest patch set (patch 10), as some fixes were made in this area.
    Thanks,
    Danny

  • How to delete a jar file after loading image files from it

    Hi,
    How can I delete a jar file after some image files have been loaded? For example, say, I have "a.jar" which contains an image "a.gif" in the root directory of the c drive. I would like to get the image size and then delete the jar file. Here is the code snippet:
        URL url = new URL("jar:file:/C:\\a.jar!/a.gif");
        Icon icon = new ImageIcon(url);
        System.out.println("icon size ? " + icon.getIconHeight());
        File file = new File("c:\\a.jar");
        while(file.exists())
            file.delete();
            try
                Thread.sleep(100);
            catch (InterruptedException ignored)
        System.out.println("file deleted.");I get the image size correctly but just can not delete the jar file. Apparently the file handle is not released, but how to close it? Any hint will be appreciated.
    Justin Jan

    I am sure the URLConnection.defaultUseCaches is set before it is connected otherwise I should catch an IllegalStateException on conn.setUseCaches(false).
            try
                URL url = new URL("jar:file:/C:\\a.jar!/a.gif");           
             URLConnection conn = url.openConnection();
               conn.setDefaultUseCaches(false);
             conn.setUseCaches(false);
                Icon icon = new ImageIcon(url);
                System.out.println("icon size ? " + icon.getIconHeight());
                url.openConnection().getInputStream().close();
                System.gc();
             System.runFinalization();
                File file = new File("c:\\a.jar");
                while (file.exists())
                    file.delete();
                    try
                        Thread.sleep(10);
                    catch (InterruptedException ignored)
                System.out.println("file deleted.");
            catch (Throwable t)
                t.printStackTrace();

  • Automatic creation of PR after MRP run

    Hi,
    can anyone please tell me what all fields are picked up in a Purchase Requisition(PR) in the scenario of automatic creation of PR after MRP run.
    If we are using more than 1 PR type in the system how is it determined during the MRP run that the PR will be created for which type.I understand that source list will have to be created and maintained but how is the PR type determined
    Thanks in advance

    In PR the system checks for the material and vendor. See the steps below.
    Step1:Auto PO tick in material master Purchasing view (mandatory)
    Step2:Auto PO tick in vendor master Purchasing view
    Step3:Maintain Source list for vendor and material (If u r not using source list for auto PO creation, the assign the Source of supply to a PR in ME56)
    Step4:Maintain Pur. Inforecord
    Step5:ME59n : execute for PR and Vendor In ME59n, you can also select the PR document type. If you want to select different document types, go for multiple entries and enter the doc types.
    When u execute, the system will give the appropriate PRs. Select the required and convert to PO.
    But through MRP you cannot create PO directly only Planned orders can be created.
    Reward if helpful..
    Thanks,
    Srib

  • After importing images from my card using LR 5.4, the GPS data does not show in the metadata panel. However, when I look at the imported images using Bridge, the GPS data is visible. Anybody know why LR is not seeing the GPS data? Camera is Canon 6D.

    After importing images from my card using LR 5.4, the GPS data does not show in the metadata panel. However, when I look at the imported images using Bridge, the GPS data is visible. Anybody know why LR is not seeing the GPS data? Camera is Canon 6D.

    Ok, the issue seem to be solved. The problem was this:
    The many hundred files (raw and xmp per image) have been downloaded by ftp in no specific order. Means - a couple of files in the download queue - both raw and xmps. Most of the time, the small xmp files have been finished loading first and hence the "last change date" of these xmp files was OLDER than the "last change date" of the raw file - Lightroom then seem to ignore the existence of the xmp file and does not read it during import.(a minute is enough to run into the problem)
    By simply using the ftp client in a way that all large raw files get downloaded first followed by the xmp files, we achieved that all "last changed dates" of the xmp files are NEWER than the related raw files. (at least not older)
    And then LR is reading them and all metadata information has been set / read correctly.
    So this is solved.

  • How do I remove extra space after an image in an ePub created with InDesign?

    I've designed more than a dozen ebooks with InDesign and have recently been having problems with the spacing after images, both images that are anchored in the text or stand-alone and exported through the Articles Panel. Following are a few details:
    • In the Object Export Settings, I have the vertical spacing set to 0 both before and after the images and no breaks added.
    • In the Export panel, I do not have any vertical spacing applied to images.
    • I do not have any Object Style settings applied.
    • It doesn't seem to matter if I anchor the image into the text or have it as a stand-alone image in the Articles Panel with the caption after it in a separate text box, also in the Articles Panel.
    • I broke down the ePub into an html file and did not see any div or span classes that were different between images that are showing correctly vs. incorrectly.
    • Extra space appears in both iBooks on my computer, as well as on my iPad.
    • I converted to a mobi file for the Kindle and the space wasn't there.
    See attached screen shot. There shouldn't be that big gap between the image and the orange caption.
    Any help or suggestions anyone can provide would be greatly appreciated. I feel like I've tried everything I can think of with the same results over and over!

    Yes. That is the technique I traditionally use to drop an image into text. I even cut and pasted again as you suggested with the same result. Trust me, this is driving me nuts. I'm not doing anything different than before, but my results are different, even within the same document. I'll attach a few examples, all from this same document.
    How the space after my in-line image is supposed to look:
    And then a few of the pages with the mystery gap:

  • Why does my paragraph tag for images get repositioned AFTER the image?

    I have TCS2 and link my FM docs to RH.
    I use a paragraph tag in FM called "figure" for my imported images. I noticed there is too much space after the images in RH and discovered the "figure" tag is BELOW the images. So even if I map the tag to a RH style, it won't do any good. Any suggestions?

    This might fix your problem. Look at how your anchored frame appears in the FrameMaker document. It's probably like this:
    ┴ ¶
    Which is simply the anchored frame marker followed by the paragraph marker.
    Now try this. Before the anchored frame marker, add a forced space (CTRL-Space).
    |_| ┴  ¶
    When RoboHelp interprets this, it appears to place the paragraph before the anchored frame, not after it.
    This is assuming you've got the anchoring position set to"Below Current Line," as suggested earlier.
    Hope this helps!
    Jason

  • How can i change the settings so that before download the firefox gives a propmt that same file name already exists, instead of automatically renaming duplicate files by adding .1 suffix?

    When I download a file, if a file of similar name already exists in the same download folder, the firefox downloads the file and renames it by adding numeric .1 to the file name.
    I want the firebox to give me a prompt that similar file already exist, rather than automatically renaming it by adding suffix .1.

    Downloads Options
    * https://support.mozilla.com/en-US/kb/Options%20window%20-%20General%20panel#w_downloads
    Unable to Download or Save files
    * https://support.mozilla.com/en-US/kb/Unable%20to%20download%20or%20save%20files
    Check and tell if its working.

  • How do I remove white jagged edges after making image transparent?

    How do I remove white jagged edges after making image transparent?  Is there a feature to help out with this?

    It's a file format limitation. GIF supports 1 bit of transparency.  That is 2^1 (which equals 2 total) levels of transparency.  This equates to either NO transparency at all, or specifying 1 single color of the 256 total possible values to being fully transparent.
    This will leave a very ugly fringe around the edge no matter what; it will only not be visible in color that match or are close to the fringe color; and then, that's a perception issue.
    Try creating an alpha channel and saving the image as a PNG.  That supports 8 bits of transparency, which equals 2^8 or 256 total different levels of transparency.  This will let your image have very smooth edges with no jagged transitions.

  • How stop the automatic statistics collection job after the maintenance wind

    Hi,
    we are for a solution to stop the automatic statistics collection job after the maintenance window finished.
    we disable all jobs except the automatic statistics collection, because this is the only one we want to run. Then we define specific values for the interval and duration parameters of the maintenance window to customize this task.
    But for their systems it is very important that this job/task will immediately stop when the window is closed!!!
    So, how could we ensure this behavior.
    For Oracle 10g it is easy because the statistic job always exists and it is possible to set its duration and create an addtional event based job which kills all jobs that are running over duration.
    In Oracle 11g the statistic job is created by the system during the maintenance window is open.
    We are not able to modify parameters of this system job. After the maintenance window closed the job is already running - only with another resource priority - but it is running.
    Please help me in this scenario
    Thanks&Regards
    Prem

    ?So basically you are saying is if none of the tables are changed then GATHER_STATS_JOB will not run, but i see tables are updated still the job is not running. I did >query dba_scheduler_jobs and the state of the job is true and scheduled. Please see my previous post on the output
    Am i missing anything here, do i look for some parameters settings
    So basically you are saying is if none of the tables are changed then GATHER_STATS_JOB will not run,GATHER_STATS_JOB will run and if there are any table in which there's a 10 percent change in data, it will gather statistics on that table. If no table data have changes less than 10 percent, it will not gather statistics.
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14211/stats.htm#i41282
    Hope this helps.
    -Anantha

  • Powershot SX510 HS automatically stops recording video after 10 - 15 minutes into the recording.

    Powershot SX510 HS automatically stops recording video after 10 - 15 minutes on continuous recording. Is there a way to turn this off? I would like to record videos until either I press the stop recording button, or the battery gets low. I have turned off all the power saving setting, at least I think I have.
    Solved!
    Go to Solution.

    The camera has some recording limitations as all the Canon models do. Below is how you can extend your recording times to a max of about 1 hour but there is a 4BG limit regardless so once it hits 4GB the recording stops and has to be restarted.
    Also the memory card needs to be at least a Class 6 rating or the recording will stop sooner regardless of the clip size.
    This is from page 161 of your manual

  • Be abble to automatically remove unused resultLists, after onTheFly reporting, onTheFly DB writing ...

    Hello,
    If you get memory problems, you had to tune your reports options, result collecting, load / unload modules  .... 
    These tasks are very long, you have to point all memory consumers first ... It pollutes your test sequence only for memory purposes ! 
    When you try to modify the result reccording, you will also have problems for your report generation ... 
    It should be nice to add a new feature allowing an automatic result list removing, after onTheFly reporting, ontheFly database writing have treted them ...
    A kind of "OnTheFly and remove unused results"
    When ontheFly reporting, and The OnTheFly database writing are over, the treated resultList should be put in a garbage structure !
    Older test results could be removed if memory is needed ... 
    I know this could be not simple ... but this could help very much, for big sequences creation. 
    Thanks a lot.
    Manu.net (TestStand memory dustman !)
     

    Guys, I think I've found the strange thing.
    First, in the recovery shell, when I type "lvm lvscan", it prints:
    WARNING: lvmetad is running but disabled. Restart lvmetad before enabling it!
    and then it says that all four my logical volumes root,boot,home and var are inactive.
    So I tried to set them up manually, with "lvm vgchange -a y", and guess what happened: I was able to boot!
    I still haven't managed to understand the real causes of this problem, but basically it seems that I have the same problem explained here: https://bbs.archlinux.org/viewtopic.php?id=184340.
    The only difference is that there the OP says to have solved the problem with an upgrade to Linux 3.15.7, while it appeared to me with the upgrade to 3.18.3, and as I said it doesn't go away neither with a downgrade nor with another upgrade to version 3.18.4
    Last edited by rdm (2015-01-29 21:55:44)

  • Automatically renaming an uploaded file

    I am creating a page to upload files, as well as to submit
    data about the file to be stored in a database. When the form data
    is submitted, how can I program it to automatically rename the
    uploaded file to the ID or Key number of the row in the database in
    which the file's information is stored?

    What scripting language are you using?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "AngryCloud" <[email protected]> wrote in
    message
    news:evmlp4$lfh$[email protected]..
    >I am creating a page to upload files, as well as to
    submit data about the
    >file
    > to be stored in a database. When the form data is
    submitted, how can I
    > program
    > it to automatically rename the uploaded file to the ID
    or Key number of
    > the row
    > in the database in which the file's information is
    stored?
    >

Maybe you are looking for

  • Can't connect macbook pro to my tv.

    I have problems connecting my macbook pro to my tv. the tv is already quite old, so it has only two scart ports and a rca( RCA Plugs for composite video (yellow) and stereo audio (white and red)), s-video port. the cables i bought are as following: 1

  • Calling pl/sql function in CKM...pls help

    Hi, I have made a call to PL/SQL function in CKM customization. The code is : declare L_PMG_VALUE VARCHAR(3); begin L_PMG_VALUE:='PMG'; VALIDATE_PMG_VALUE(L_PMG_VALUE); end; When i run it, it throws error which says: 6550 : 65000 : java.sql.SQLExcept

  • No "decline call" option on most phone calls I receive 5C

    When I receive a phone call on my 5C, some calls it gives me the option to decline the call but most calls it does not. It's really annoying!! I don't want to answer the phone sometimes and I can't "decline" the call.

  • How to read and parse a remote XML file with Java

    Hi. Using J2SE v1.4.2, I'd like to read and parse a remote file: http://foo.com/file.xml Is it possible with Java? I'd be extremely grateful if someone could provide me any webpage showing a very simple code. Thank you very much.

  • X11 and open source applications issues

    I have a brand new iMac 20 w/ OS X 10.4.8/ Core Duo 2.16/ ATI X1600 w/ 256 mb vram/ 1 gb of system ram. I have been using open source systems for almost two years and would like to continue to use some of the applications which are provided for Macin