Nicole Kidman and two photographers should sort out their problems like "intelligent people" without wasting court time, a judge said on Friday.
Kidman is in Australia to film new movie Eucalyptus
Australian magistrate Lee Gilmour did not renew restraining orders on Jamie Fawcett, 43, and Ben McDonald, 32.
The pair were accused of stalking Ms Kidman and planting a listening device.
They have now agreed not go within 500 metres (550 yards) of her Sydney home in a voluntary deal but can photograph her elsewhere. She was not in court.
The original orders were imposed against the freelance photographers after a listening device was found outside Ms Kidman's Sydney harbourside home in January.
The Oscar-winning actress said she had felt a virtual prisoner in her home, which she was afraid to leave.
Ms Gilmour agreed to lift the orders against Mr Fawcett and Mr McDonald during the hearing at Sydney's Waverley Local Court, provided they agreed to several undertakings.
They are allowed to photograph Ms Kidman away from her home but must not molest, harass or intimidate her.
Ms Gilmour warned that strict new orders would be imposed if the undertakings were breached.
"They will be so strict that you can forget Ms Kidman," she said.
A three-week trial period for the undertakings will be reviewed at a further court hearing on 3 March.
A number of photographers had staked out Kidman's home after she returned to Australia last month to film her new movie, Eucalyptus.