Git Product home page Git Product logo

rename-computer-tool's Introduction

drawing

Rename-Computer-Tool

This script allows you to rename a computer and even a DC

Website

1) To launch the tool

If the machine is already in a domain, his DC has to be up so the computer can call his DC for a double-check
Then, launch the 'launch.ps1'

Tips :
 - You can create a .lnk to the launch.ps1 to make it easier to launch

 - You can change the default application used on a double click of a .ps1 to allow users to launch a .ps1 just double-clicking on it

 - You can create a Task in the task scheduler that will be run with highest priviledges and will be launched every logon

 - You can add a key : 
    The keys:
        HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run - Runs programs for all users.
        HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Run - Runs programs for current user.

source : https://stackoverflow.com/questions/24250303/additional-ways-of-running-programs-at-logon

2) The initial source code of the exe is the .ps1 file

image

3) On error

On error you have to remind that :

- The maximum caracters of a computer name is 15
- There is a file created during the process, named old_computername.txt that will go on C:\old_computername.txt
 and will contain the old computer name, IF YOU REMOVE IT, YOU CAN RESTART THE SCRIPT

rename-computer-tool's People

Contributors

sentinelsamuel avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.