Solved – windows time service not starting automatically on work-group environment

i found the problem that show up the windows time services not running when using workgroup environment.

and for the solution, please use this workaround.

Method 1

Run the following command to delete the trigger event that’s registered as the default setting and to change the Startup Type setting for the Windows Time service from Manual to Automatic:

sc triggerinfo w32time delete

Method 2

Run the following command to define a trigger event that suits your environment. In this example, the command determines whether an IP address is given to a host, and then it starts or stops the service.

sc triggerinfo w32time start/networkon stop/networkoff

w32time

Method 3

Change the Startup Type of the Windows Time service from Manual to Automatic (Delayed Start).

Note If the Startup Type of the Windows Time service is set to Automatic (Delayed Start), the Windows Time service may be started by the “Time Synchronization before the Service Control Manager starts the Windows Time service” task. (This depends on the startup timing of the Windows operating system in question.)

In this situation, the service triggers an automatic stop after the success of the Time Synchronization task. Therefore, if you use Method 3, you must disable the “Time Synchronization to avoid the task to start the Windows Time service” task. To do this, follow these steps:
Start the Task Scheduler.
Under Task Scheduler Library / Microsoft / Windows / Time Synchronization, click Synchronize Time.
Right-click, and then click Disabled on the shortcut menu.

 

source

Windows 2003 – Can we deleted c:\windows\system32\logfiles\W3SVC1

Last week our exchange server drive C hard drive space, growth abnormally. We’re using windows server 2003r2.

After analyze all folder in drive C, I found that the c:\windows\system32\logfiles\W3SVC1 have the biggest space in drive C.

Because I don’t know if the log in folder can be deleted, so I googling the solution and I found this solution.

After do the solution (deleted the file using scheduler) my hardisk capacity becomes free by 50%.

Hope this workaround will help some people.

Citrix Xen Server – Changing the frequency of log rotation (for example to resolve a lack of disk space)

Credit to Steven Wright, because this article help me so much. If you have problem like me, please follow below procedure to resolve it :

Connect putty and logon into xen server host using root user.

Use “vi” (a text editor) to edit the /etc/logrotate.conf file

Changed the rotate value into what you want and set the log to compress (delete the #).

Press “I” for insert and press “x” to delete. Esc to return to command mode.

After finish, press “:wq” (w = Write and q= quit).

Troubleshooting windows 2008 r2 sysprep – A fatal error occurred while trying to sysprep the machine

Today I have a problem when I want to create new image using the existing image(old image) in citrix xen server.

When I run sysprep, I found an error message “A Fatal error occurred trying to sysprep the machine”

To solved this problem, I do a this workaround :

  • Change registry key HKEY_LOCAL_MACHINE\SYSTEM\Setup\Status\SysprepStatus to 7

  • Change HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform\SkipRearm to 1
  • And then Delete the folder Panther.

  • And then run sysprep again.

Source :

http://social.technet.microsoft.com/Forums/windows/en-US/425bd101-8a87-488c-b2e2-9f2f8113a0d9/sysprep-fatal-error-occurred-while-trying-to-sysprep-the-machine (look at for Riffing answer)

Sysprep on windows 2003 r2 sp 2

This is only a noted for remind me how to sysprep the win server 2003.

To sysprep a windows 2003 R2 image, follow the below action :

  • Insert CD1
  • go to¬† Support\Tools\Deploy.cab
  • select everything and extract them to c:\sysprep ( a folder that you have created it)
  • Double click sysprep.exe.

  • Keep the default settings (Options un-selected, shutdown mode: shutdown)
  • click on Reseal

  • And press Ok