Jump to content

my44186680

Member
  • Posts

    12
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United States

Everything posted by my44186680

  1. Hi ricktendo64, thanks for you advice, I will add a command like regedit for our debug. Is there any log we can find for the first logon return code or status?
  2. Is there any log for the "forstlogoncommands", where we can see it?
  3. Thanks for the reply. I cannot see its run, I just observed the change. There is should be a log file genereated if the program run. What weird is that sometimes the log file was not generated sometimes it was generated, but it was blank.
  4. Hello I came accross an issue about the windows7 deployment. I set the Firstlogoncommands, but the commands are not executed everytime. It will not be exected every five times. I am crazy. Based on my understanding, if the configuration not correct, it will not be executed, if correct, it will be executed everytime. - <FirstLogonCommands> - <SynchronousCommand wcm:action="add"> <CommandLine>c:\Updater.exe /f</CommandLine> <Description>Update the System policy...</Description> <Order>1</Order> </SynchronousCommand> </FirstLogonCommands> I don't know what happened, could anybody give any clue on this, appreciated Thanks, Ethan
  5. Oh, it is amazing, I will replace the codes with your post, and have a test. Thank you very much for your help, actually I have been confused for this a long time.
  6. Thanks very much for your kind reply,here is the codes @echo off set version=Beta1 set imagefile=test.GHO Z:\gdisk 2 /del /all Z:\gdisk 2 /cre /pri Z:\gdisk 1 /del /all Z:\gdisk 1 /cre /pri Z:\ghost -clone,mode=PLOAD,src=Z:\%imagefile%:1,dst=1:1 -ntil -auto -sure -fx -PREFGHST -FFX -FFI -FFS SET E= FOR %%! IN (1 2) DO IF ERRORLEVEL %%!00 SET E=%%! SET !=0 1 2 3 4 5 6 7 8 9 IF ERRORLEVEL ?SET !=0 1 2 3 4 5 IF ERRORLEVEL : FOR %%! IN (%!%) DO IF ERRORLEVEL %E%%%!0 SET E=%E%%%! IF NOT ERRORLEVEL * SET !=0 1 2 3 4 5 6 7 8 9 FOR %%! IN (%!%) DO IF ERRORLEVEL %E%%%! SET E=%E%%%! IF NOT %E%==0 goto ERROR Z:\ghost -clone,mode=PLOAD,src=Z:\%imagefile%:2,dst=2:1 -ntil -auto -sure -fx -PREFGHST -FFX -FFI -FFS rem -fnu -fna SET E= FOR %%! IN (1 2) DO IF ERRORLEVEL %%!00 SET E=%%! SET !=0 1 2 3 4 5 6 7 8 9 IF ERRORLEVEL ?SET !=0 1 2 3 4 5 IF ERRORLEVEL : FOR %%! IN (%!%) DO IF ERRORLEVEL %E%%%!0 SET E=%E%%%! IF NOT ERRORLEVEL * SET !=0 1 2 3 4 5 6 7 8 9 FOR %%! IN (%!%) DO IF ERRORLEVEL %E%%%! SET E=%E%%%! IF NOT %E%==0 goto ERROR goto END :ERROR echo. echo The Ghosting process has failed!!! goto QUIT :END :QUIT That's the entire code,it is working for machines with 2 harddisks. When ghosting process is interrupted by Ctrl+C or other methods, the codes can detect this ,and turn to :error label.
  7. Thanks for your reply. I just don't understand what this means "IF ERRORLEVEL ?SET !=0 1 2 3 4 5" IF ERRORLEVEL : FOR %%! IN (%!%) DO IF ERRORLEVEL %E%%%!0 SET E=%E%%%! Errorlevel with ":" I never see this usage.
  8. The codes are as below: when I try to load a new machine by ghosting from image, I use the command: ghost -clone, mode=load,src=X:\Backup.gho,dst=1 -ntil -sure -auto then followed the below codes SET E= FOR %%! IN (1 2) DO IF ERRORLEVEL %%!00 SET E=%%! SET !=0 1 2 3 4 5 6 7 8 9 IF ERRORLEVEL ?SET !=0 1 2 3 4 5 IF ERRORLEVEL : FOR %%! IN (%!%) DO IF ERRORLEVEL %E%%%!0 SET E=%E%%%! IF NOT ERRORLEVEL * SET !=0 1 2 3 4 5 6 7 8 9 FOR %%! IN (%!%) DO IF ERRORLEVEL %E%%%! SET E=%E%%%! IF NOT %E%==0 goto ERROR The codes can help detect whether the process could be finished successful during ghosting, if we interrput the ghosting process, it really could goto ERROR label. But I don't understand how come that make this happen? Some command or expression I even havenot seen before. Could anyone help me on this ? or provide some links to introduce some information about this. very appreciated.
  9. I always work with Excel, a lot of data risk losting by unattended mistaken operation. I know there is a mechanism that could save data automatically in a interval, am i right? Could anyone tell me how to configure this? Any help appreciated.
  10. I think it is very easy. You can right-click outlook icon ,and then click "properties", then click "Email account",then choose "view or change existing e-mail accounts" ,then click "next", there will be a dialog frame, you can choose the receiving folder at the dropdown list at the bottom of this frame
  11. I think I have found it. I mdify a value of registry key ,that can implement my requirement,the value is as below. { Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\Default Profile\13dbb0c8aa05101a9bb000aa002fc45a] "00036601"=hex:86,01,00,10 }
  12. I am a newbie here, and now face some difficulties in outlook2003 installtion. I install this appliaction with mst file in unattend mode. Everything is OK,except one thing.I attach a screenshot for you to get a better sense of what i am concerned. Like the screenshot, I want to select the first option "Automatically detect connection state" with the mst file or by editting registry. But the mst file doesn't provide a entry to config this at least in my eyes. Whoever know this or interest this will be welcome. Thanks, my44186680
×
×
  • Create New...