mniceguy81 Posted May 11, 2014 Share Posted May 11, 2014 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 More sharing options...
jaclaz Posted May 11, 2014 Share Posted May 11, 2014 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:deletes some files deletes some Registry entries uses *something like* cmdkey http://technet.microsoft.com/it-it/library/cc754243(v=ws.10).aspx to remove data from credential manager and (possibly ) add the *fake* Which OS is it? jaclaz Link to comment Share on other sites More sharing options...
submix8c Posted May 11, 2014 Share Posted May 11, 2014 (edited) (*cough*) XP (*cough*). FYI - I don't use it...http://en.wikipedia.org/wiki/Microsoft_Lync Edited May 11, 2014 by submix8c Link to comment Share on other sites More sharing options...
jaclaz Posted May 11, 2014 Share Posted May 11, 2014 (*cough*) XP (*cough*). Yep, the question came out "badly" , 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? XP? Are you sure? 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. FYI - I don't use it... http://en.wikipedia.org/wiki/Microsoft_LyncWhich is good , 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 More sharing options...
submix8c Posted May 11, 2014 Share Posted May 11, 2014 (edited) 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. 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 May 11, 2014 by submix8c Link to comment Share on other sites More sharing options...
jaclaz Posted May 11, 2014 Share Posted May 11, 2014 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 More sharing options...
mniceguy81 Posted May 12, 2014 Author Share Posted May 12, 2014 (edited) 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 May 13, 2014 by mniceguy81 Link to comment Share on other sites More sharing options...
jaclaz Posted May 13, 2014 Share Posted May 13, 2014 (edited) 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\ /sreg 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. You need to verify this piece of info, using the GUI methods/tools suggested. jaclaz Edited May 13, 2014 by jaclaz Link to comment Share on other sites More sharing options...
mniceguy81 Posted May 13, 2014 Author Share Posted May 13, 2014 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 Link to comment Share on other sites More sharing options...
jaclaz Posted May 13, 2014 Share Posted May 13, 2014 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 againGood. 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now