There is no reason why a laptop without a battery should not work, as long as the following considerations are taken into account. First, make sure you're using the laptop's own power adapter. Also, do not touch the battery contacts when it is plugged in.