Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Windows VBA file

Status
Not open for further replies.

Brianfree

Programmer
Feb 6, 2008
220
0
0
GB
Hello, i am looking to create a vba file that can be run from desktop to do the following.. Please can someone assist?

1) copy a text file locally that is on a server. Will need to pass server address and location and username/password
2) display contents of text file with "ok" button (basically terms and conditions)
3) make changes to gpedit.msc (User Configuration | Administrative Templates | Windows Components | Remote Desktop Services) -> Remote Desktop Connection Client -> Do not allow passwords to be saved = enable
4) run mstsc to create an RDP session. (Only need to connect to the server as user must enter username and password)

Thankyou please for your assistance.
Brian
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top