Đang Thực Hiện

151748 Outlook offline

I have been trying to put a script together. What I am trying to do is to set all users Outlook profile to offline. We are using Outlook from Office XP. I know the changes I need to do to set the profile offline, but my problem is the registry path is different for all users. Here is what I have so far:

Set WshShell = [url removed, login to view]("[url removed, login to view]")

strUserName = [url removed, login to view]("%USERNAME%")

Dim WshShell

Set WshShell = [url removed, login to view]("[url removed, login to view]")

[url removed, login to view] "HKCU\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\" & strUserName & "\13dbb0c8aa05101a9bb000aa002fc45a\00036601", 20, "REG_BINARY"

[url removed, login to view] "HKCU\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\" & strUserName & "\13dbb0c8aa05101a9bb000aa002fc45a\00036606", 512, "REG_BINARY"

The problem is, the profile name I put in this script is “&strUsername & “ but that may not be the case. Sometimes it is the users full name so is different for every user. I was looking for a wildcard but from what I have read there is no such solution. Is there a way to go to the path and then doing a search for a reg key?

for example:

in path

HKCU\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles

search for key: 13dbb0c8aa05101a9bb000aa002fc45a and then change the value of the key?

Kỹ năng: Bất kì công việc gì, Visual Basic

Xem thêm: example shell script, need microsoft office, basic shell script, outlook visual basic, offline search, set outlook users, profile user windows, windows script shell, shell windows, outlook script, wscript shell, script visual basic outlook, outlook 00036606, outlook microsoft, windows shell script, shell outlook, visual basic outlook, registry visual basic, key visual, shell visual basic, example basic script outlook, read path, wildcard, visual basic offline, script outlook

Về Bên Thuê:
( 0 nhận xét ) Canada

Mã Dự Án: #1897929