Rename file using GPO

Home Forums Microsoft Networking and Management Services GPO Rename file using GPO

Viewing 1 post (of 1 total)
  • Author
    Posts

  • lisa804u
    Member
    #138955

    Hi ,
    I need to deploy one script it can be vbs or bat ,which rename the file as link given

    Rename “C:Documents and Settings%username%Application DataMicrosoftOutlookoutlook.nk2” “C:Documents and Settings%username%Application DataMicrosoftOutlook%username%.bak”

    when i am executing this command it display syntax error.

    Can any one help me out how can i rename the file..

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

Don't leave your business open to attack! Come learn how to protect your AD in this FREE masterclass!REGISTER NOW - Thursday, December 2, 2021 @ 1 pm ET

Active Directory (AD) is leveraged by over 90% of enterprises worldwide as the authentication and authorization hub of their IT infrastructure—but its inherent complexity leaves it prone to misconfigurations that can allow attackers to slip into your network and wreak havoc. 

Join this session with Microsoft MVP and MCT Sander Berkouwer, who will explore:

  • Whether you should upgrade your domain controllers to Windows Server
    2019 and beyond
  • Achieving mission impossible: updating DCs within 48 hours
  • How to disable legacy protocols and outdated compatibility options in
    Active Directory

Sponsored by: