Welcome Serena Central users! CLICK HERE
The migration of the Serena Central community is currently underway. Be sure to read THIS MESSAGE to get your new login set up to access your account.
Anonymous_User Absent Member.
Absent Member.
334 views

PC replacement

Ok, for those of you that have to deal with replacing users' computers,
laptops, etc, I have a request for ideas.

Our computers here are in our AD domain, and have some software on them
that is a 'per install' license.

When it's time to replace computers, the new one replaces the old, and
the old one is supposed to be removed from our domain so our inventory
software will set this machine to retired and free up the software
license. The machine then goes into our high density storage until the
hard drive gets wiped, then it goes to 'long term' storage before it
goes to an auction.

Problem is, the support people that do the computer replacement
apparently don't want to do the steps necessary with the old pc after
it's been replaced. Apparently they don't feel they have the time to
do this, which then it becomes a several day process to take care of
all the machines that need done.

Anyone know of any 'automated' way to do this, where a script or
something is run on the pc and it gets removed from our domain, and
gets the licensed software uninstalled?

--
Stevo
Labels (1)
0 Likes
18 Replies
Anonymous_User Absent Member.
Absent Member.

Re: PC replacement

There seem to be a few here for doing the remove-from-AD part:
https://goo.gl/ALX2cU : )

--
Susan
Novell Community Chat Moderator

http://forums.novell.com/faq.php?faq=novfor#faq_rules
http://www.ncci.org NCCIrregulars Web Site
https://www.facebook.com/groups/NCCIrregulars

Please read the following before posting in here:
http://preview.tinyurl.com/27zopdy


0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: PC replacement

Whose support people are these - the vendor from whom you're
purchasing the new machines, or in-house support?
--
Susan
Novell Community Chat Moderator

http://forums.novell.com/faq.php?faq=novfor#faq_rules
http://www.ncci.org NCCIrregulars Web Site
https://www.facebook.com/groups/NCCIrregulars

Please read the following before posting in here:
http://preview.tinyurl.com/27zopdy


0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: PC replacement

Susan sounds like they 'said':

> Whose support people are these - the vendor from whom you're
> purchasing the new machines, or in-house support?


So my response to Susan's comment is...

In house support.

--
Stevo
0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: PC replacement

Susan sounds like they 'said':

> There seem to be a few here for doing the remove-from-AD part:
> https://goo.gl/ALX2cU : )


So my response to Susan's comment is...

Kicker still becomes getting our support people to run them.

We have a weekly meeting between us and our support people, I have a
feeling I will be attacking the hornet's nest with a bat as well as a
flame thrower. 😉

--
Stevo
0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: PC replacement

Stevo:

I was wondering if it was in-house support. Good luck with that
meeting.

Once you've batch removed the computers from AD, at the end of that
script add a list of chained uninstall executables for the software
that needs to be removed. You'd have to know if any of them request a
reboot after uninstall, or bring up some announcement of the
uninstall being done that would need to be okayed, but once that was
sorted out and the script for the uninstall part was worked out, it
should probably work quite well. Testing it on a few of the computers
should give enough info on the details and timing that needs to be
included in the script.

You could even have the script create a file on the server at a
location of choice, named after the computer name, that would
indicate an error state or success for each part of the process. Then
you'd know if there were any computers that required manual
intervention.

In theory that's all possible. I once did lots of things via batch
scripts that were somewhat similar. They didn't involve dealing with
AD, but they installed and uninstalled and changed registry entries
and reported back.

You just need routines to FIRST check to make sure it's one of the
computers you want it to run on, and if not, to just stop.

In-house support should have been able to figure out something like
that. Just make sure if they try to, that they run it by you first,
so they don't end up removing every computer from AD and uninstalling
all software from all computers on the system. LOL

--
Susan
Novell Community Chat Moderator

http://forums.novell.com/faq.php?faq=novfor#faq_rules
http://www.ncci.org NCCIrregulars Web Site
https://www.facebook.com/groups/NCCIrregulars

Please read the following before posting in here:
http://preview.tinyurl.com/27zopdy


0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: PC replacement

Sorry, that message was written just after my first one, but didn't
go out with the first one, for some reason. 🙂

--
Susan
Novell Community Chat Moderator

http://forums.novell.com/faq.php?faq=novfor#faq_rules
http://www.ncci.org NCCIrregulars Web Site
https://www.facebook.com/groups/NCCIrregulars

Please read the following before posting in here:
http://preview.tinyurl.com/27zopdy


0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: PC replacement

Oh, and as for them having to run it, if you have a list of the
computer names, couldn't you just create a startup script that
contains the "remove from AD and uninstall these programs" script,
and batch copy that to the list of computers? I know that was a
really easy thing to do with Netware, because I did it regularly for
awhile.

If I remember correctly, on one system I added to startup script of
all computers a check to see if it was one of the computers that
needed whatever was to be done, and if it was, a file on root was
created that was a yes or no flag file. It was quite easy under
Netware to copy a batch file to all computers. Then the startup
script of all computers was again edited, but this time to check for
the state of the flag file, and based on that state, to then proceed
to execute the script file or to delete it.

The results of the actions were piped into a file for each computer,
and then another script combined all of the individual report files
into a single report file so I could easily see the results of the
procedure. If I recall correctly, I put a spacer of some sort between
each file as it was combined with the others, and then had a macro
that pulled that all into WordPerfect and sorted it however desired.

Anyway, just some ideas. I used to love doing that sort of thing. The
happiest moments for me were when I'd hit the enter key to start a
process that might take an hour, and walk away while the computer did
all the work. LOL

--
Susan
Novell Community Chat Moderator

http://forums.novell.com/faq.php?faq=novfor#faq_rules
http://www.ncci.org NCCIrregulars Web Site
https://www.facebook.com/groups/NCCIrregulars

Please read the following before posting in here:
http://preview.tinyurl.com/27zopdy


0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: PC replacement

Susan sounds like they 'said':

> Oh, and as for them having to run it, if you have a list of the
> computer names, couldn't you just create a startup script that
> contains the "remove from AD and uninstall these programs" script,
> and batch copy that to the list of computers? I know that was a
> really easy thing to do with Netware, because I did it regularly for
> awhile.
>
> If I remember correctly, on one system I added to startup script of
> all computers a check to see if it was one of the computers that
> needed whatever was to be done, and if it was, a file on root was
> created that was a yes or no flag file. It was quite easy under
> Netware to copy a batch file to all computers. Then the startup
> script of all computers was again edited, but this time to check for
> the state of the flag file, and based on that state, to then proceed
> to execute the script file or to delete it.
>
> The results of the actions were piped into a file for each computer,
> and then another script combined all of the individual report files
> into a single report file so I could easily see the results of the
> procedure. If I recall correctly, I put a spacer of some sort between
> each file as it was combined with the others, and then had a macro
> that pulled that all into WordPerfect and sorted it however desired.
>
> Anyway, just some ideas. I used to love doing that sort of thing. The
> happiest moments for me were when I'd hit the enter key to start a
> process that might take an hour, and walk away while the computer did
> all the work. LOL


So my response to Susan's comment is...

I'm digging around trying to find uninstall strings for the software
that's licensed per install, seeing if I can come up with some type of
script to *at least* get that stuff removed from replaced machines for
now anyway.

--
Stevo
0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: PC replacement

That's a good start! The internet or the website of the software
might also have a list of command line switches for uninstalls that
might make them completely unattended. : )

--
Susan
Novell Community Chat Moderator

http://forums.novell.com/faq.php?faq=novfor#faq_rules
http://www.ncci.org NCCIrregulars Web Site
https://www.facebook.com/groups/NCCIrregulars

Please read the following before posting in here:
http://preview.tinyurl.com/27zopdy


0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: PC replacement

Susan sounds like they 'said':

> That's a good start! The internet or the website of the software
> might also have a list of command line switches for uninstalls that
> might make them completely unattended. : )


So my response to Susan's comment is...

Found some of that for our anti-virus software plus our inventory
agent. One I'd really like to do is ms office, but holy cow does that
look like a PITA.

--
Stevo
0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: PC replacement

0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: PC replacement

Or this one?
https://technet.microsoft.com/en-us/library/cc178956.aspx There's a
section on silent uninstall. : )

--
Susan
Novell Community Chat Moderator

http://forums.novell.com/faq.php?faq=novfor#faq_rules
http://www.ncci.org NCCIrregulars Web Site
https://www.facebook.com/groups/NCCIrregulars

Please read the following before posting in here:
http://preview.tinyurl.com/27zopdy


0 Likes
Highlighted
Knowledge Partner Knowledge Partner
Knowledge Partner

Re: PC replacement


Hi Stevo,

while I have nothing to do with AD (I'm a very happy Linux camper 😉 ),
we face similar problems, especially since the support staff is
external.

Typically, the fellows replacing the computer log in as a specific "wipe
this host" user, with login scripts taking care of most of the steps. In
your case, it sounds like that would be unregistering the system from
AD, and then to actually wipe the disk, as that would have to be done
anyhow in order to auction the machine.

If wiping takes too long, then have some local admin or the users
(though extra measures would have to be taken if you hand out the
password for that "wipe" user - i.e. checking against a server-based
list of machines that are in for a wipe) log in as a last step, the day
before replacement.

Regards,
Jens


--
From the times when today's "old school" was "new school" 😉

If you find this post helpful and are logged into the web
interface, show your appreciation and click on the star below...
------------------------------------------------------------------------
jmozdzen's Profile: http://forums.suse.com/member.php?userid=51
View this thread: http://forums.suse.com/showthread.php?t=7194

0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: PC replacement

Susan sounds like they 'said':

> Or this one?
> https://technet.microsoft.com/en-us/library/cc178956.aspx There's a
> section on silent uninstall. : )


So my response to Susan's comment is...

Thanks for the links! Got something working to remove office as well
as our anti-virus software. Granted I still have to get the people
replacing computers here to run this when the old computer is replaced.

--
Stevo
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.