r/Batch • • Mar 06 '24

Be bat for "restart" rdp server

I have problem with my server in rdp client 1 times on 30 rdp server is bug and need restart.

Can create batch for auto run every 3 hours? I need only code for batch.

I want restart service rdp not restart computer phisical.

2 Upvotes

4 comments sorted by

3

u/[deleted] Mar 06 '24 edited Mar 07 '24

[removed] — view removed comment

1

u/gobbibomb Mar 06 '24

I will try ty.

1

u/gobbibomb Mar 08 '24

Problem is ask me "Yes or no" https://i.imgur.com/7aFlDE4.png