After some more testing I think it is the power button itself. I let it sit for some time and it kept trying to start and one time it got all the way to windows and I managed to log in but then it shut down again. after few more tries I got into windows and got to change the power button settings so it did nothing when pressed. That gave me some time in windows with out shutting down but never more then 5-10min then if turned off and started again.  I´m going to send it to retailer and see if they can do anything.  Thanks for the help  
Hello,  I have this micro 5060 that have this strange behavior. When I plug it in she starts spinning the fan (like supposed to) for 5 sec. then you should be able to start it but she tries to start her self for 20 sec, then turns off for 4 sec then starts again for 20sec, repeat.  I have tried: Remove the battery, change it. remove RAMchange power adapter. (90w and 65w)Any ideas?
Optiplex 5060 micro starts for 20 sec, then restarts, and repeat.