The president landed unannounced in Afghanistan Friday for an almost four hour visit , days before the White House is set to release a much anticipated review of the increasingly unpopular war .