Default Phone Recognized but no sync

hi all,

i am facing this problem eveytime a flash a new rom. whe i connect my phone to usb it is recognized and i can even browse it but it is not visible in sync center. Iam using win7 and have to restart the pc everytime i flash a rom to get a sync. Is there any solution?

thx all