Jump to content

Windows XP delete last user info


Recommended Posts

Hello Everybody,

 

I need some help to delete WiFi connections and Microsoft Lync last user connection on a Loan computer (Multi user Laptop).

 

This is what i delete for Lync but i needed a way to fully automate it because after i have to delete the last user, i have to put someone@example.com  =

 

C:\Documents and Settings\User\Application Data\Microsoft\Communicator\

 

C:\Documents and Settings\User\Local Settings\Application Data\Microsoft\Communicator\

 

 

Thank you for your help 

Link to comment
Share on other sites


I am not sure to understand.

You mean this?

http://www.voip-connections.com/howto/how-to-purge-lync-temporary-cache-files/

 

That would involve a batch (or *whatever* script) that:

  1. deletes some files 
  2. deletes some Registry entries
  3. uses *something like* cmdkey http://technet.microsoft.com/it-it/library/cc754243(v=ws.10).aspx  to remove data from credential manager and (possibly :unsure:) add the *fake*

Which OS is it?

 

jaclaz

 

Link to comment
Share on other sites

(*cough*) XP (*cough*). :w00t:

Yep, the question came out "badly" :blushing:, AFAIK Lync is mainly (please read almost exclusively) used in the enterprise, as besides the client you have to use either a Lync Server or the Lync Online which is part of the MS "Cloud" of online services, if I remember right as part of Office 365.

"Common" users tend to use other tools AFAIK.

I posted:

Which OS is it?

but I actually meant to post:

Which OS is it? :w00t: XP? :unsure: Are you sure? :ph34r:

to express my surprise.

However the possible issue is about the availability of cmdkey.

I don't think that cmdkey runs on XP, and I don't know of a command line suitable tools to access Credentials Manager, the excellent Nirsoft thingy:

http://www.nirsoft.net/utils/network_password_recovery.html

should be able to, but it is GUI only/has not a suitable command line parameter.

One could use the built-in rundll32.exe keymgr.dll, KRShowKeyMgr but that is still GUI only.

 

Which is good :yes:, since I also don't use it, and the combined effect is to further lessen chances that we will ever have a video conference. ;)

jaclaz

Link to comment
Share on other sites

Meh - you can see a pic of me just about anywhere... You ARE "The Finder"  - and I don't hide myself.

 

Video Conference? I don't think so! We have too many similar foibles. :w00t:

 

Hmmm... Lync 2010 -appears- to be compatible with XP (googled on the folder-names) -

http://social.technet.microsoft.com/Forums/lync/en-US/2505bdba-baf2-497d-8307-3cbc1f7f7fd7/microsoft-lync-2010-default-profile-issue

 

edit - Yep, part of Office365 (a "bug") -

http://support.microsoft.com/kb/2604176

Edited by submix8c
Link to comment
Share on other sites

Sure it is compatible with XP (I believe only with SP3), but how many people have Office 365 running on XP (and how many people have a Lync Server) outside - maybe - a large enterprise?

 

jaclaz

Link to comment
Share on other sites

Hi everybody thanks for the replies and yes Microsoft Lync 2010 is compatible with Windows XP Pro SP3 and the computers that we lend our users are workgroup computers and not domain computers that's why i'm trying to clean them automatically when users return the laptops back.

Is there a way the delete a registry subkey only because i found a way by deleting HKCU\Software\Microsoft\Communicator but deletes the whole configuration Lync but the only thing i need to delete is the subkey that is created under the HKCU\Software\Microsoft\Communicator key.

Can we delete sub keys that have not been created yet like this HKCU\Software\Microsoft\Communicator\"*"

Thanks for your help with this.

Edited by mniceguy81
Link to comment
Share on other sites

Sure you can delete a sub-key.

Basically you list the sub-keys of a given level (to get their names) piping the results in a FIND or FINDSTR expression and then proceed to delete them.

The REG.EXE utility can do that fine.

Examples:

reg query HKCU\Software\Microsoft\Clipbook\ /s

reg query HKCU\Software\Microsoft\Clipbook\ /s | FIND "Auto"

http://www.robvanderwoude.com/ntregquery.php

 

The point is different, however.

Accordingly to the given resource, the user/password is also stored in Credentials Manager. :unsure:

 

You need to verify this piece of info, using the GUI methods/tools suggested.

 

jaclaz

Edited by jaclaz
Link to comment
Share on other sites

Thanks for the utility Jaclaz, I created a batch file to delete the last user login info for the Account.dat for Lync was just missing away to delete the subkey.

 

Thanks again

Good. :)

Why don' t you share your batch? This way next user needing to do a similar chore may be abe to find it.

 

jaclaz

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...